Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【高级编排】实验室预约流程使用fastgpt推荐的模型(FastAI、月之暗面等LLM)可以正确判断调用哪个工具和接口,使用智谱AI时则报错 #1449

Open
6 of 7 tasks
wuxinyun1993 opened this issue May 11, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@wuxinyun1993
Copy link

wuxinyun1993 commented May 11, 2024

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • 私有部署版本, 具体版本号: v4.8-alpha2

问题描述, 日志截图
【高级编排】实验室预约流程使用fastgpt推荐的模型(FastAI、月之暗面等LLM)可以正确判断调用哪个工具和接口,使用智谱AI时则报错
image

复现步骤
实验室预约,工具选择节点模型选择智谱AI,然后测试
预期结果
报错:Cannot read properties of undefined (reading 'value')
相关截图
image

@wuxinyun1993 wuxinyun1993 added the bug Something isn't working label May 11, 2024
@nightzjp
Copy link

config.josn配置文件里面好像有个配置,toolchoice,functioncalltoice。看看设置对没对

@romejiang
Copy link

romejiang commented May 11, 2024

工具调用除了chatgpt以外需要 配置以下参数。

      "toolChoice": false,
      "functionCall": false,
      "defaultConfig": {
          "temperature": 0.5,
        "max_tokens": 2048
      }

我测试过的模型:
Nvidia: meta/llama3-70b-instruct // 工具调用可以

deepseek:
deepseek-chat // 工具调用不行,
deepseek-coder // 工具调用可以,速度快,便宜,推荐

@wuxinyun1993
Copy link
Author

toolchoice,functioncalltoice 改了配置之后虽然不报错了,但是还是没办法调用工具

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants