ollama/api
Bruce MacDonald 14b5a9a150
api: document client stream behavior with a test (#8996)
Added unit tests to verify error handling behavior in the Client.stream and Client.do methods.
Tests cover various error scenarios including:
- Error responses with status codes >= 400
- Error messages with successful status codes
- Empty error messages
- Successful responses
2025-02-20 13:19:58 -08:00
..
examples docs: improve syntax highlighting in code blocks (#8854) 2025-02-07 09:55:07 -08:00
client.go api: document client stream behavior with a test (#8996) 2025-02-20 13:19:58 -08:00
client_test.go api: document client stream behavior with a test (#8996) 2025-02-20 13:19:58 -08:00
types.go llama: update vendored code to commit 46e3556 (#8308) 2025-01-08 11:22:01 -08:00
types_test.go lint 2024-08-01 17:06:06 -07:00