litanlitudan / skyagi

SkyAGI: Emerging human-behavior simulation capability in LLM

Home Page:https://skyagi.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: failed with latest langchain

gaocegege opened this issue · comments

commented
LLM initialization check failed: 1 validation error for ChatOpenAI
__root__
  Parameters {'model'} should be specified explicitly. Instead they were passed in as part of `model_kwargs` parameter. (type=value_error)
commented

I am trying the latest langchain because I met langchain-ai/langchain#4086

commented

@gaocegege yeah, that's why I hard-coded the langchain version because it breaks the compatibility across versions too often. Will need to look at what changed again this time. sigh.....

I tried to bump up the langchain version in https://github.com/litanlitudan/skyagi/tree/kejiez/langchain-version and doesn't see the error anymore, @gaocegege you can give a try locally. The kejiez/langchain-version branch is based on an ongoing PR: #87. Once that PR is merged, then we can make a PR for https://github.com/litanlitudan/skyagi/tree/kejiez/langchain-version