Skip to content

Commit d875050

Browse files
committed
Add comprehensive test suite for Ollama chat response parsing and provider implementation
- Add test module for OllamaChatResponse deserialization: cover basic responses, usage info, tool calls, thinking mode, done_reason variants, and optional fields - Add test module for parse_response() function: test text content parsing, stop reason handling (stop/length/unknown), usage info extraction, tool call parsing (single/multiple), thinking content handling, and response metadata - Add test module for Chat
1 parent 168427e commit d875050

File tree

8 files changed

+3833
-89
lines changed

8 files changed

+3833
-89
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)