agent: Fix tool use output rendering (#28146)
Tool use output wouldn't get rendered in some states. Release Notes: - N/A
This commit is contained in:
parent
2462b949bc
commit
b78ac5410f
1 changed files with 5 additions and 1 deletions
|
@ -706,7 +706,11 @@ impl ActiveThread {
|
|||
tool_use.id.clone(),
|
||||
tool_use.ui_text.clone(),
|
||||
&tool_use.input,
|
||||
"".into(),
|
||||
self.thread
|
||||
.read(cx)
|
||||
.tool_result(&tool_use.id)
|
||||
.map(|result| result.content.clone().into())
|
||||
.unwrap_or("".into()),
|
||||
window,
|
||||
cx,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue