ITADN

Circular dependency version issues between agency-swarm, instructor/pydantic and openai

#34Closedjbishop98 创建于 2024-09-22
J
jbishop98commented
CodeSolutionsAgency requires the python Instructor package to run. If I install the Instructor package: agency-swarm 0.3.0 requires openai==1.41.0, but you have openai 1.47.0 which is incompatible If I try to force install the versions I end up breaking dependencies with other packages, like pydantic. If I ignore the error and run the program, the agents get stuck in a loop with a consistent error: "completions.create() got an unexpected keyword argument response_model" I'm fairly new but will try to dig a bit deeper to resolve this. Perhaps the correct version of Instructor should be added to the requirements.txt of the CodeSolutionsAgency
关闭于 2024-09-23 2 条评论