ControllableAnthropicClient implementation
| 10 | |
| 11 | // ControllableAnthropicClient implementation |
| 12 | ControllableAnthropicClient::ControllableAnthropicClient( |
| 13 | const std::string& /* api_key */, |
| 14 | const std::string& /* base_url */) |
| 15 | : predefined_status_code_(200), |
| 16 | should_fail_(false), |
| 17 | should_timeout_(false), |
| 18 | call_count_(0) { |
| 19 | predefined_response_ = AnthropicResponseBuilder::buildSuccessResponse(); |
| 20 | } |
| 21 | |
| 22 | void ControllableAnthropicClient::setPredefinedResponse( |
| 23 | const std::string& response, |
nothing calls this directly
no outgoing calls
no test coverage detected