| 113 | } |
| 114 | |
| 115 | StreamResult ControllableAnthropicClient::stream_text( |
| 116 | const StreamOptions& options) { |
| 117 | // Copy the generate options part instead of the whole StreamOptions |
| 118 | last_generate_options_ = static_cast<const GenerateOptions&>(options); |
| 119 | call_count_++; |
| 120 | |
| 121 | // For now, return a basic StreamResult |
| 122 | // In a real implementation, this would return a proper streaming interface |
| 123 | return StreamResult(nullptr); |
| 124 | } |
| 125 | |
| 126 | bool ControllableAnthropicClient::is_valid() const { |
| 127 | return !should_fail_; |
nothing calls this directly
no test coverage detected