-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation Error #1290
Comments
Can you provide the content of your config2.yaml? The error message indicates that the llm field is missing from config2.yaml which should be: llm:
api_type:…
api_key:… |
I use Gemini and this is my content but it's still have validation error
|
It works for me. Try to pull the latest code to ensure everything is up-to-date. |
Make sure you have updated ~/.metagpt/config2.yaml or config/config2.yaml (for detail please see here). Can you check if the problem still exists? |
ValidationError: 1 validation error for Config llm Field required [type=missing, input_value={'PATH': '/Users/psyb0rg/..._INIT_AT_FORK': 'FALSE'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing
The text was updated successfully, but these errors were encountered: