Releases: mikonapoli/gaspare
Release list
v0.3.3
Bugs Squashed
Thanks to @ncoop57 for this!
v0.3.2
Bugs Squashed
- Properly compute Flash 2.5 costs (#10)
v0.3.1
New Features
- Add Gemini 2.5 Flash and Thinking budget (#9)
v0.3.0
Breaking Changes
- Make Gaspare's
contentfunction compatible with Claudette's (#8)contentcurrently returns a dictionary, but Claudette expects it to return just the text content of the response. This requires some breaking change (although minimal)
Bugs Squashed
- Long prompts cause OS errors (#7)
-
from gaspare import *
m = models[4] # 2.0 flash experimental
cli = Client(model=m)
prompt = '''
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.
Running the above results in this error:
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"
v0.2.3
Bugs Squashed
- Long prompts cause OS errors (#7)
-
from gaspare import *
m = models[4] # 2.0 flash experimental
cli = Client(model=m)
prompt = '''
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.
Running the above results in this error:
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"
v0.2.2
Bugs Squashed
- Long prompts cause OS errors (#7)
-
from gaspare import *
m = models[4] # 2.0 flash experimental
cli = Client(model=m)
prompt = '''
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.
Running the above results in this error:
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"
v0.2.1
v0.2.0
New Features
- Add async Client and Chat (#3)
v0.1.5
Bugs Squashed
- Local videos not working properly (#6)
- Providing a video from a local path raises the following:
ClientError: 400 FAILED_PRECONDITION. {'error': {'code': 400, 'message': 'The File cxgja95z0ak1 is not in an ACTIVE state and usage is not allowed.', 'status': 'FAILED_PRECONDITION'}}
v0.1.4
- Add readme (#2)
- Fix
imagenmethod not being exported