Skip to main content

systemprompt_api/services/gateway/
captures.rs

1use systemprompt_identifiers::AiToolCallId;
2
3#[derive(Debug, Clone, Copy, Default)]
4pub struct CapturedUsage {
5    pub input_tokens: u32,
6    pub output_tokens: u32,
7}
8
9#[derive(Debug, Clone)]
10pub struct CapturedToolUse {
11    pub ai_tool_call_id: AiToolCallId,
12    pub tool_name: String,
13    pub tool_input: String,
14}