#![allow(dead_code)]
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ChatRequest {
pub message: String,
pub config_file: String,
pub working_dir: Option<String>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ChatResponse {
pub role: String,
pub content: String,
pub timestamp: String,
pub success: bool,
pub error: Option<String>,
pub tool_calls: Vec<ToolCallStatus>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ToolCallStatus {
pub id: String,
pub name: String,
pub args: serde_json::Value,
pub status: String,
pub start_time: Option<u64>,
pub end_time: Option<u64>,
pub result: Option<String>,
pub error: Option<String>,
}