Skip to content

除了kimi其他的工具调用都失败了 #26

@fantasy-ke

Description

@fantasy-ke

工具注入配置

  • Image

kimi日志

  • Image
  • 对话结果
  • Image

GLM日志

  • Image
  • 对话结果
  • Image

请求日志json

{"model":"GLM-5","messages":[{"role":"user","content":"请告诉我北京现在的天气情况如何?"}],"temperature":0.3,"max_tokens":200,"tools":[{"type":"function","function":{"name":"get_weather","description":"获取指定城市的当前天气信息","parameters":{"type":"object","properties":{"city":{"type":"string","description":"城市名称,例如:北京、上海、深圳"},"unit":{"type":"string","enum":["celsius","fahrenheit"],"description":"温度单位"}},"required":["city"]}}}],"tool_choice":"auto"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions