The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community: fix typo in async ollama chat (#15276)
shroominic694bbb14cd1b
diff --git a/libs/community/langchain_community/chat_models/ollama.py b/libs/community/langchain_community/chat_models/ollama.pyindex d9ad14a26e..e0327e7e50 100644--- a/libs/community/langchain_community/chat_models/ollama.py+++ b/libs/community/langchain_community/chat_models/ollama.py@@ -325,7 +325,7 @@ class ChatOllama(BaseChatModel, _OllamaCommon):**kwargs: Any,) -> AsyncIterator[ChatGenerationChunk]:try:- async for stream_resp in self._create_async_chat_stream(+ async for stream_resp in self._acreate_chat_stream(messages, stop, **kwargs):if stream_resp: