-
Notifications
You must be signed in to change notification settings - Fork 840
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
errors.pydantic #179
Comments
Same issue |
Same issue as well. |
After updating the code it started working but still has problems
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
INFO [agent] π Starting task: go to google.com and type 'OpenAI' click search and give me the first url
INFO [src.agent.custom_agent]
π Step 1
ERROR [agent] β Result failed 1/5 times:
Invalid model output format. Please follow the correct schema.
Details: 1 validation error for CustomAgentOutput
current_state.future_plans
Input should be a valid string [type=string_type, input_value=["Go to Google and type 'OpenAI'"], input_type=list]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
INFO [src.agent.custom_agent]
π Step 1
ERROR [agent] β Result failed 2/5 times:
Invalid model output format. Please follow the correct schema.
Details: 1 validation error for CustomAgentOutput
current_state.future_plans
Input should be a valid string [type=string_type, input_value=["Go to Google and type 'OpenAI'"], input_type=list]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
INFO [src.agent.custom_agent]
π Step 1
ERROR [agent] β Result failed 3/5 times:
Invalid model output format. Please follow the correct schema.
Details: 2 validation errors for CustomAgentOutput
current_state.future_plans
Input should be a valid string [type=string_type, input_value=["Go to Google and type 'OpenAI' click search"], input_type=list]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
action.0.done.text
Input should be a valid string [type=string_type, input_value={'type': 'string', 'input... 'input_type': ['list']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
INFO [src.agent.custom_agent]
π Step 1
ERROR [agent] β Result failed 4/5 times:
Invalid model output format. Please follow the correct schema.
Details: 1 validation error for CustomAgentOutput
current_state.future_plans
Input should be a valid string [type=string_type, input_value=['Switch to a tab and navigate to google.com'], input_type=list]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
INFO [src.agent.custom_agent]
π Step 1
ERROR [agent] β Result failed 5/5 times:
Invalid model output format. Please follow the correct schema.
Details: 1 validation error for CustomAgentOutput
current_state.future_plans
Input should be a valid string [type=string_type, input_value=["Search for 'OpenAI' on Google"], input_type=list]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
ERROR [agent] β Stopping due to 5 consecutive failures
INFO [src.agent.custom_agent] Created GIF at agent_history.gif
The text was updated successfully, but these errors were encountered: