agent: Refine the web search tool call UI (#29190)

This PR refines a bit the web search tool UI by introducing a component
(`ToolCallCardHeader`) that aims to standardize the heading element of
tool calls in the thread.

In terms of next steps, I plan to evolve this component further soon
(e.g., building a full-blown "tool call card" component), and even move
it to a place where I can re-use it in the active_thread as well without
making the `assistant_tools` a dependency of it.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-04-22 09:51:57 -03:00 committed by GitHub
parent 109f1d43fc
commit 19b547565d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 128 additions and 55 deletions

View file

@ -22,6 +22,7 @@ mod schema;
mod symbol_info_tool;
mod terminal_tool;
mod thinking_tool;
mod ui;
mod web_search_tool;
use std::sync::Arc;