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

Exception: Attempted to call a sync iterator on an async stream. #309

Closed
nlp4everyone opened this issue Nov 5, 2024 · 2 comments
Closed

Comments

@nlp4everyone
Copy link

When i try to stream tokens from Async Client, sometimes this exception happens:
exception
This is my code, from example of Official Ollama Github:
code
Anybody encountered this issue before?

@xcq2000
Copy link

xcq2000 commented Nov 5, 2024

try close the VPN

@ParthSareen
Copy link
Contributor

Closing this out - let me know if you're still running into this :) @nlp4everyone

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

3 participants