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

Add async streaming support for OpenAI compatible models #281

Merged
merged 13 commits into from
Aug 23, 2024

Conversation

kxtran
Copy link
Collaborator

@kxtran kxtran commented Aug 22, 2024

No description provided.

Copy link
Collaborator

@wenzhe-log10 wenzhe-log10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kim, great work! left some comments.

log10/_httpx_utils.py Outdated Show resolved Hide resolved
log10/_httpx_utils.py Outdated Show resolved Hide resolved
log10/_httpx_utils.py Outdated Show resolved Hide resolved
log10/_httpx_utils.py Outdated Show resolved Hide resolved
@kxtran kxtran marked this pull request as ready for review August 23, 2024 02:13
@kxtran kxtran requested a review from wenzhe-log10 August 23, 2024 02:13
@@ -43,7 +43,7 @@ python-dotenv = "^1.0.0"
backoff = "^2.2.1"
langchain = {version = "<0.2.0", optional = true}
magentic = {version = ">=0.17.0", optional = true, markers = "python_version >= '3.10'"}
litellm = {version = "^1.34.18", optional = true}
litellm = {version = "^1.41.12", optional = true}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to upgrade litellm for magentic compatibility

log10/_httpx_utils.py Outdated Show resolved Hide resolved
log10/_httpx_utils.py Outdated Show resolved Hide resolved
log10/_httpx_utils.py Outdated Show resolved Hide resolved
log10/_httpx_utils.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@wenzhe-log10 wenzhe-log10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@kxtran kxtran changed the title Support async models via openai sdk Support openai compatibility models Aug 23, 2024
@kxtran kxtran changed the title Support openai compatibility models Add async streaming support for openAI-compatible models Aug 23, 2024
@kxtran kxtran changed the title Add async streaming support for openAI-compatible models Add async streaming support for OpenAI compatible models Aug 23, 2024
@kxtran kxtran merged commit cfb5272 into main Aug 23, 2024
2 checks passed
@kxtran kxtran deleted the kt/support-mistral-perflexity-via-openai-sdk branch August 23, 2024 03:25
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