Closed SalamanderXing closed 2 months ago
Thanks for reporting @SalamanderXing - we'll look into this issue this week
The same problem
Hi @SalamanderXing @alwaysqzj This issue should be resolved with the latest versions of langchain-cohere and langchain-core! I've run the same code on my end, and see that it's working fine!
langchain-cohere >= 0.1.9
and langchain-cohere==0.2.24
Closing the issue since it works on my end now, but do feel free to reopen/raise another one in case the problem hasn't been solved!
Below the example to reproduce it. Happens the same with command-r or command-r-plus. Also it happens regardless of the structure of the tool.
Outputs:
So without tools gives a normal reply but the response content of the llm bound to tools is always an empty string.
I'm using
langchain-core==0.1.16
andlangchain-cohere==0.1.3