890f55ab8e81ad522e8740f1ed7b34e094acadb8
This commit adds several unit tests for the `generate_oneliner` function, which interacts with the Ollama API. These tests cover: - Successful parsing of a chat response. - Normalization of the response content to remove extra whitespace and quotes. - Handling of HTTP 500 errors from the server. - Verification of sent request parameters like `keep_alive` and `model`. - Parsing errors when the `content` field is missing in the response.
Description
No description provided
Languages
Rust
74%
Kotlin
12.7%
HTML
4.9%
Python
4.1%
Shell
3.8%
Other
0.5%