mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-17 08:29:28 +00:00
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:
parent
fea4888e72
commit
694bbb14cd
@ -325,7 +325,7 @@ class ChatOllama(BaseChatModel, _OllamaCommon):
|
|||||||
**kwargs: Any,
|
**kwargs: Any,
|
||||||
) -> AsyncIterator[ChatGenerationChunk]:
|
) -> AsyncIterator[ChatGenerationChunk]:
|
||||||
try:
|
try:
|
||||||
async for stream_resp in self._create_async_chat_stream(
|
async for stream_resp in self._acreate_chat_stream(
|
||||||
messages, stop, **kwargs
|
messages, stop, **kwargs
|
||||||
):
|
):
|
||||||
if stream_resp:
|
if stream_resp:
|
||||||
|
Loading…
Reference in New Issue
Block a user