Skip to content

Commit 7ee2223

Browse files
committed
release
1 parent 4e531db commit 7ee2223

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@
22

33
<!-- do not remove -->
44

5+
## 0.2.2
6+
7+
8+
### Bugs Squashed
9+
10+
- Long prompts cause OS errors ([#7](https://github.com/mikonapoli/gaspare/issues/7))
11+
- ```python
12+
from gaspare import *
13+
14+
m = models[4] # 2.0 flash experimental
15+
cli = Client(model=m)
16+
17+
prompt = '''\
18+
Given a user description of an image, you will create a beautiful rendition of it, making sure to add in details that might not be present in the user's description but can be inferred. Only output the image, nothing else.
19+
20+
<desc>
21+
Make a beautiful swan by a lake.
22+
</desc>
23+
'''
24+
res = cli(prompt)
25+
```
26+
27+
Running the above results in this error:
28+
29+
```
30+
OSError: [Errno 63] File name too long: "Given a user description of an image, you will create a beautiful rendition of it, making sure to add in details that might not be present in the user's description but can be inferred. Only output the image, nothing else.\n\n<desc>\nMake a beautiful swan by a lake.\n</desc>\n"
31+
```
32+
33+
534
## 0.2.1
635

736
- Fixes the release adding all the files

0 commit comments

Comments
 (0)