-
Notifications
You must be signed in to change notification settings - Fork 375
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
ERROR goose::agents::truncate: Error: Request failed: Request failed with status: 400 Bad Request #945
Comments
@digitalbuddha can you try the latest canary version? we also print out the payload when that error happens so it might be easier to debug.
since you mentioned its happening after few hours of usage, i wonder if you're hitting context limits but litellm is doing error handling differently and we're not raising
|
Sure will try later today. I'm definitely hitting context limits earlier as my usage is in the tens of dollars during a session. Can I grab additional logs anywhere? |
if you're using the CLI, then you should see logs in |
Unsure if it is the same cause, but I am also running into this error when trying to run mcp-obsidian. Goose works fine until I enable this extension and then crashes immediately. ( O)> test
◒ Taming tensors... 2025-02-01T18:15:21.628479Z ERROR goose::agents::truncate: Error: Request failed: Request failed with status: 400 Bad Request. Message: * GenerateContentRequest.tools[0].function_declarations[2].parameters.properties[filepath].format: only 'enum' is supported for STRING type
* GenerateContentRequest.tools[0].function_declarations[4].parameters.properties[filepath].format: only 'enum' is supported for STRING type
* GenerateContentRequest.tools[0].function_declarations[5].parameters.properties[filepath].format: only 'enum' is supported for STRING type
* GenerateContentRequest.tools[0].function_declarations[6].parameters.properties[query].properties: should be non-empty for OBJECT type
at crates/goose/src/agents/truncate.rs:279
Ran into this error: Request failed: Request failed with status: 400 Bad Request. Message: * GenerateContentRequest.tools[0].function_declara
tions[2].parameters.properties[filepath].format: only 'enum' is supported for STRING type
* GenerateContentRequest.tools[0].function_declarations[4].parameters.properties[filepath].format: only 'enum' is supported for STRING type
* GenerateContentRequest.tools[0].function_declarations[5].parameters.properties[filepath].format: only 'enum' is supported for STRING type
* GenerateContentRequest.tools[0].function_declarations[6].parameters.properties[query].properties: should be non-empty for OBJECT type
.
Please retry if you think this is a transient or recoverable error. |
Describe the bug
After interacting with Goose for few hours, I get the following error
It doesn't seem to be transient as once I get stuck I need to close my session. Up until the error everything works perfectly. Let me know if there are any logs I can grab
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Not to get stuck in an error state
Please provide following information:
The text was updated successfully, but these errors were encountered: