| 19 | } |
| 20 | |
| 21 | void ControllableOpenAIClient::setPredefinedResponse( |
| 22 | const std::string& response, |
| 23 | int status_code) { |
| 24 | predefined_response_ = response; |
| 25 | predefined_status_code_ = status_code; |
| 26 | } |
| 27 | |
| 28 | void ControllableOpenAIClient::setShouldFail(bool fail) { |
| 29 | should_fail_ = fail; |
nothing calls this directly
no outgoing calls
no test coverage detected