AgentExecutor cannot be used #26760
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Ɑ: core
Related to langchain-core
investigate
Checked other resources
Example Code
The following code is copied from the example provided by langchain to test this problem.
ChatOpenAI uses the local environment deployed by xinference
Error Message and Stack Trace (if applicable)
无
Description
Executing the code provided above will result in an error:
This error was solved by setting the environment variable DEFER_PYDANTIC_BUILD=0.
However, when I executed it again, a new error occurred. I don't know how to solve it. I suspect that there is a compatibility issue with the openai interface of langchain. The error message is as follows:
System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: