Skip to content

Conversation

@Ceciile
Copy link

@Ceciile Ceciile commented Feb 9, 2026

Motivation and Context

Ollama_with_openai_chat_client.py cannot run correctly.

The error :
TypeError: 'async for' requires an object with aiter method, got coroutine

Description

Use good attribute of 'ChatAgent' object

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

@github-actions github-actions bot changed the title Fix: streaming Response Example in ollama_with_openai_chat_client Python: Fix: streaming Response Example in ollama_with_openai_chat_client Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants