community: fix typo in async ollama chat (#15276)

Made a stupid typo in the last PR which got already merged😅
This commit is contained in:
shroominic 2023-12-28 18:56:55 +01:00 committed by GitHub
parent fea4888e72
commit 694bbb14cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: