-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Closed
Copy link
Description
Please fix this issue
#4496
I have the same:
└ Request failed: Response body is not valid JSON: error decoding response body
When I try to use ollama / OpenAI (but letesst llama.cpp as backend)
◇ Request failed: error sending request for url (http://192.168.100.3:11433/v1/chat/completions)
└ Failed to configure provider: init chat completion request with tool did not succeed.
Goose print this before I tryied to re-configure connection settings (from previous working goose version)
◓ Refactoring reality routines... 2025-09-25T08:48:35.959132Z WARN goose::providers::utils: Provider request failed with status: 500 Internal Server Error. Payload: Some(Object {"error": Object {"code": Number(500), "message": String("JSON schema conversion failed:\nUnrecognized schema: {\"required\":[\"instructions\"]}\nUnrecognized schema: {\"required\":[\"prompt\"]}\nUnrecognized schema: {\"required\":[\"instructions\"]}\nUnrecognized schema: {\"required\":[\"prompt\"]}"), "type": String("server_error")}}). Returning error: ServerError("Some(Object {\"error\": Object {\"code\": Number(500), \"message\": String(\"JSON schema conversion failed:\\nUnrecognized schema: {\\\"required\\\":[\\\"instructions\\\"]}\\nUnrecognized schema: {\\\"required\\\":[\\\"prompt\\\"]}\\nUnrecognized schema: {\\\"required\\\":[\\\"instructions\\\"]}\\nUnrecognized schema: {\\\"required\\\":[\\\"prompt\\\"]}\"), \"type\": String(\"server_error\")}})")
at crates/goose/src/providers/utils.rs:114
Error: Server error: Some(Object {"error": Object {"code": Number(500), "message": String("JSON schema conversion failed:\nUnrecognized schema: {\"required\":[\"instructions\"]}\nUnrecognized schema: {\"required\":[\"prompt\"]}\nUnrecognized schema: {\"required\":[\"instructions\"]}\nUnrecognized schema: {\"required\":[\"prompt\"]}"), "type": String("server_error")}})
Interrupted before the model replied and removed the last message.
error: The error above was an exception we were not able to handle.
These errors are often related to connection or authentication
We've removed the conversation up to the most recent user message
- depending on the error you may be able to continue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels