NIT: comment typo (#13817)

This commit is contained in:
jiangying
2023-11-28 04:59:12 +08:00
committed by GitHub
parent 92b07ecaf3
commit 3e30cd8261

View File

@@ -379,7 +379,7 @@ class BaseOpenAI(BaseLLM):
**kwargs: Any,
) -> AsyncIterator[GenerationChunk]:
params = {**self._invocation_params, **kwargs, "stream": True}
self.get_sub_prompts(params, [prompt], stop) # this mutate params
self.get_sub_prompts(params, [prompt], stop) # this mutates params
async for stream_resp in await acompletion_with_retry(
self, prompt=prompt, run_manager=run_manager, **params
):