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

Issues upon running on a new system #5

Closed
jogardi opened this issue Mar 13, 2024 · 2 comments
Closed

Issues upon running on a new system #5

jogardi opened this issue Mar 13, 2024 · 2 comments

Comments

@jogardi
Copy link

jogardi commented Mar 13, 2024

Here's some fixes in case someone else gets these issues. The problem is I'm using new packages
If you see has no attribute 'model_json_schema' then change line 75 of decorator.py to parameters = model.schema()

Also, you might need to change line 225 of stream_processing to if not hasattr(choice, "delta"):

@AlmogBaku
Copy link
Owner

thanks!, ill try to fix it asap

AlmogBaku added a commit that referenced this issue Mar 14, 2024
fix: #5 supports older pydantic as well
@AlmogBaku
Copy link
Owner

done

AlmogBaku added a commit that referenced this issue May 22, 2024
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

No branches or pull requests

2 participants