890f55ab8e
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.