You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i run examples/analyze_dataset.py,get this error:
async with CodeInterpreterSession() as session: File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/codeinterpreterapi/session.py", line 70, in __init__ self.llm: BaseLanguageModel = llm or self._choose_llm() File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/codeinterpreterapi/session.py", line 144, in _choose_llm return ChatOpenAI( File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/langchain/load/serializable.py", line 97, in __init__ super().__init__(**kwargs) File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/pydantic/v1/main.py", line 339, in __init__ values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data) File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/pydantic/v1/main.py", line 1076, in validate_model v_, errors_ = field.validate(value, values, loc=field.alias, cls=cls_) File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/pydantic/v1/fields.py", line 860, in validate raise ConfigError( pydantic.v1.errors.ConfigError: field "request_timeout" not yet prepared so type is still a ForwardRef, you might need to call ChatOpenAI.update_forward_refs().
The text was updated successfully, but these errors were encountered:
when i run examples/analyze_dataset.py,get this error:
async with CodeInterpreterSession() as session: File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/codeinterpreterapi/session.py", line 70, in __init__ self.llm: BaseLanguageModel = llm or self._choose_llm() File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/codeinterpreterapi/session.py", line 144, in _choose_llm return ChatOpenAI( File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/langchain/load/serializable.py", line 97, in __init__ super().__init__(**kwargs) File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/pydantic/v1/main.py", line 339, in __init__ values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data) File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/pydantic/v1/main.py", line 1076, in validate_model v_, errors_ = field.validate(value, values, loc=field.alias, cls=cls_) File "/home/xk/miniconda3/envs/openai/lib/python3.10/site-packages/pydantic/v1/fields.py", line 860, in validate raise ConfigError( pydantic.v1.errors.ConfigError: field "request_timeout" not yet prepared so type is still a ForwardRef, you might need to call ChatOpenAI.update_forward_refs().
The text was updated successfully, but these errors were encountered: