Skip to content

api: fix unreachable status err #11423

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

Merged
merged 2 commits into from
Jul 16, 2025
Merged

api: fix unreachable status err #11423

merged 2 commits into from
Jul 16, 2025

Conversation

BruceMacD
Copy link
Contributor

StatusError was unreachable, the client always checked for error messages in the response body first, and the server always includes error messages with HTTP error status codes.

StatusError was unreachable, the client always checked for error messages in the response body first, and the server always includes error messages with HTTP error status codes.
@BruceMacD BruceMacD merged commit 92c2e8a into main Jul 16, 2025
8 checks passed
@BruceMacD BruceMacD deleted the brucemacd/statuserr branch July 16, 2025 18:03
gabe-l-hart added a commit to gabe-l-hart/ollama that referenced this pull request Jul 21, 2025
* origin/main:
readme: add GMAI - Gradle Managed to community integrations (ollama#11461)
tools: fix parsing issue when a tool name is a substring of another (ollama#11456)
readme: update argo description to support deep research (ollama#11455)
ci: switch mac builder to arm64 (ollama#11379)
docs: add the no-Modelfile function of `ollama create` (ollama#9077)
openai: allow openai endpoint to accept webp images (ollama#11412)
readme: update the llama.cpp github link (ollama#11427)
compile bf16 support into ggml-metal (ollama#11430)
cmd: add default assistant role to message construction (ollama#11431)
api: fix unreachable status err (ollama#11423)
docs: fix typo in macos.md (ollama#11425)
rick-github pushed a commit to rick-github/ollama that referenced this pull request Aug 20, 2025
StatusError was unreachable, the client always checked for error messages in the response body first, and the server always includes error messages with HTTP error status codes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants