Commit d875050
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 Chat1 parent 168427e commit d875050
File tree
8 files changed
+3833
-89
lines changed- machi/src/llms
- ollama
- openai
8 files changed
+3833
-89
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments