You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately we can't really change how this works without causing breaking changes. For now I'd recommend trying to work around this in some way by providing your own jiter implementation that just raises an error
# jiter.pydeffrom_json(*args, **kwargs):
raiseNotImplementedError('jiter is not available')
Of course then you can't use the parsing helpers but you should be able to use the rest of the SDK.
Confirm this is a feature request for the Python library and not the underlying OpenAI API.
Describe the feature or improvement you're requesting
Is it possible to make dependency on
jiter
optional?pydantic
1.x exists in rust-free version, and this project supportspydantic
1.9.x:openai-python/pyproject.toml
Line 12 in 7193688
It will be nice to avoid requiring Rust here.
Additional context
Rust is a very heavy dependency to build. Also, it is not supported on a number of non-mainstream platforms, where Python 3.x works fine.
The text was updated successfully, but these errors were encountered: