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

httpx broke ollama being used within multiple event loops #391

Open
Oscaner opened this issue Dec 21, 2024 · 3 comments
Open

httpx broke ollama being used within multiple event loops #391

Oscaner opened this issue Dec 21, 2024 · 3 comments
Assignees

Comments

@Oscaner
Copy link

Oscaner commented Dec 21, 2024

AsyncClient does not support being used within multiple event loops
encode/httpx#2058

@Oscaner
Copy link
Author

Oscaner commented Dec 21, 2024

Workaround:
using {"headers": {"Connection": "close"}} to disable TCP sharing.
encode/httpx#2959 (comment)

@Oscaner
Copy link
Author

Oscaner commented Dec 21, 2024

Link: stripe/stripe-python#1248

@ParthSareen ParthSareen self-assigned this Dec 29, 2024
@ParthSareen
Copy link
Contributor

Hey @Oscaner thanks for reporting - will check this out

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