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

fix(proxy_server.py) Check when '_hidden_params' is None #1300

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

asedmammad
Copy link
Contributor

This addresses an issue in proxy_server.py where the model_id assignment was not handling the case when _hidden_params is None. The fix ensures proper handling in such scenarios to prevent AttributeError: 'async_generator' object has no attribute '_hidden_params' error.

Additional Context
I encountered the error when using ollama + litellm proxy + gpt pilot.
The model used was OpenHermes-2.5-Mistral-7B

Copy link

vercel bot commented Jan 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2024 3:40pm

@krrishdholakia krrishdholakia merged commit 89f314b into BerriAI:main Jan 2, 2024
2 checks passed
@asedmammad asedmammad deleted the patch-1 branch January 2, 2024 16:45
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