Skip to content

[BUG] tool call status is abnormal #673

@hllshiro

Description

@hllshiro

问题描述

工具调用持续出错时(此工具不存在),工具调用状态显示会出现奇怪的反转

PixPin_2025-08-01_10-42-15.mp4

预期行为

正确显示错误状态。

截图

如果适用,请添加截图以便更好地解释您的问题。

桌面环境(请填写以下信息):

  • 设备: [pc]
  • 操作系统: [例如:windows 11]
  • 版本 [例如:0.2.7]

补充信息:

这是测试其他功能时偶然发现的,且稳定复现。模型用的是gemma-1b,我甚至不知道getWeather这个东西是哪里来的。未设置任何系统提示词,仅输入“你好“。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions