From 7a1e580b95d4746aec719784ad4e015071d4501a Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 5 Apr 2026 01:10:35 -0400 Subject: [PATCH] drop dead ChatResponse --- src/agent/api/types.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/agent/api/types.rs b/src/agent/api/types.rs index 7989c2f..0eaa1df 100644 --- a/src/agent/api/types.rs +++ b/src/agent/api/types.rs @@ -153,21 +153,6 @@ pub struct ReasoningConfig { pub effort: Option, } -/// Chat completion response (non-streaming). -#[derive(Debug, Deserialize)] -#[allow(dead_code)] -pub struct ChatResponse { - pub choices: Vec, - pub usage: Option, -} - -#[derive(Debug, Deserialize)] -#[allow(dead_code)] -pub struct Choice { - pub message: Message, - pub finish_reason: Option, -} - #[derive(Debug, Clone, Deserialize)] #[allow(dead_code)] pub struct Usage {