| 243 | |
| 244 | #[derive(Debug, Serialize)] |
| 245 | struct AnthropicRequest { |
| 246 | model: String, |
| 247 | max_tokens: u64, |
| 248 | messages: Vec<AnthropicMessage>, |
| 249 | #[serde(skip_serializing_if = "Option::is_none")] |
| 250 | system: Option<String>, |
| 251 | #[serde(skip_serializing_if = "Option::is_none")] |
| 252 | stream: Option<bool>, |
| 253 | #[serde(skip_serializing_if = "Option::is_none")] |
| 254 | thinking: Option<AnthropicThinking>, |
| 255 | } |
| 256 | |
| 257 | #[derive(Debug, Serialize)] |
| 258 | struct AnthropicMessage { |
nothing calls this directly
no outgoing calls
no test coverage detected