Open tkanhe opened 2 months ago
Thanks @tkanhe! I've managed to reproduce the issue and fixing it now
Hello everyone, I'm using the latest version of langchain-openai and this error still occurs. Please, which release was it resolved in?
This error occurs when I execute this command:
result = await agent_executor.ainvoke(context, return_only_outputs=True)
Thank you
Hey @mrctito thanks for reporting, we'll look into this ASAP. Can you provide a sample reproduce of this issue? We have tests for ainvoke
and it should be working properly since #1227 has been fixed.
Which component is this bug for?
Langchain Instrumentation
📜 Description
Getting following error while tracing OpenAI and AzureOpenAI LLM streaming response:
👟 Reproduction steps
If we run the following code we get above code:
👍 Expected behavior
The above code should work fine with latest and earlier versions of langchain-openai...
👎 Actual Behavior with Screenshots
When I downgraded the langchain-openai package from 0.1.6 (latest) to 0.0.8 then the issue gets resolved...
🤖 Python Version
python 3.10
langchain==0.1.17 langchainhub==0.1.15 traceloop-sdk==0.17.1