Strip api/types.rs to just Usage

Killed Message, Role, ToolCall, FunctionCall, MessageContent,
ContentPart, ImageUrl — all dead. types.rs is now 8 lines.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
Kent Overstreet 2026-04-08 15:12:28 -04:00
parent 39e6ae350d
commit 9bb626f18c
3 changed files with 3 additions and 161 deletions

View file

@ -57,8 +57,7 @@ impl Tool {
}
}
// Re-export API wire types used by the agent turn loop
use super::api::ToolCall;
/// A tool call in flight — metadata for TUI + JoinHandle for
/// result collection and cancellation.