百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#1331·gorilla

[BFCL] 当 tool_calls 为 [] 时,函数调用解析器返回空响应

作者: ankush13r创建于 2026年4月27日更新于 2026年4月27日

Describe the issue _parse_query_response_FC does not correctly handle API responses where message.tool_calls exists but is an empty list ([]). In that case, the current implementation returns model_responses=[] instead of falling back to message.content.

ID datapoint

  1. Datapoint/Model Handler permalink:
  2. Issue: Function-calling parser returns empty model_responses when tool_calls=[]
  3. Gorilla repo commit #: 6ea57973c7a6097fd7c5915698c54c17c5b1b6c8

内容来源: ShishirPatil/gorilla

查看 GitHub 原文在 GitHub 查看讨论