| 35 | } |
| 36 | |
| 37 | void ControllableAnthropicClient::reset() { |
| 38 | predefined_response_ = AnthropicResponseBuilder::buildSuccessResponse(); |
| 39 | predefined_status_code_ = 200; |
| 40 | should_fail_ = false; |
| 41 | should_timeout_ = false; |
| 42 | call_count_ = 0; |
| 43 | } |
| 44 | |
| 45 | GenerateResult ControllableAnthropicClient::generate_text( |
| 46 | const GenerateOptions& options) { |
nothing calls this directly
no outgoing calls
no test coverage detected