mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-14 04:09:09 +00:00
fix(lens): retain precise tool attempt result states
This commit is contained in:
parent
b908d1e078
commit
a2eaafceaf
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ function toolItem(
|
|||
detail.attributes["lens.content.input_status"] === "conflicting"
|
||||
? "Conflicting tool arguments were recorded. Inspect the capture source spans."
|
||||
: undefined;
|
||||
const toolAttempt =
|
||||
const toolAttempt: ConversationItem["toolAttempt"] =
|
||||
detail.attributes["lens.content.execution_status"] === "not_recorded"
|
||||
? {
|
||||
isError: detail.attributes["lens.content.tool_result_is_error"] === "1",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue