Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump formatron to 0.4.11 #271

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

lifo9
Copy link
Contributor

@lifo9 lifo9 commented Jan 7, 2025

Is your pull request related to a problem? Please describe.
Fixes issue with tool calling, where a completion request was always crashing due to:

"/usr/local/lib/python3.10/dist-packages/formatron/formatter.py", line 388, in
to_json
ERROR:        if isinstance(schema, type) and issubclass(schema, Schema):
ERROR:      File "/usr/lib/python3.10/abc.py", line 123, in __subclasscheck__
ERROR:        return _abc_subclasscheck(cls, subclass)
ERROR:    TypeError: issubclass() arg 1 must be a clas

It was fixed (thanks @Dan-wanna-M) in this commit.

Why should this feature be added?
N/A

Examples
N/A

Additional context
N/A

@kingbri1 kingbri1 merged commit 566e5b5 into theroyallab:main Jan 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants