Repository navigation
Replies: 1 comment
|
这类“首包有 name/id,续包发 null 后覆盖”的问题,现有 Pi Provider 路线在代码上可以避开。可以让 dsh plugin --profile web add pi2dsh
dsh plugin --profile web add pi-provider-litellm
export LITELLM_BASE_URL="<你的网关根地址>"
export LITELLM_API_KEY="<你的 key>"
# 重启 dsh 并选择对应模型我已经审过四段实现:Provider 确实自带 我没有你使用的具体推理模型订阅/网关部署,所以先作为源码确认的可试方案提供。若实测仍失败,请把脱敏错误、模型 ID 和端点类型发到 https://github.com/weijiafu14/pi2dsh/issues ,我会继续按真实响应修。 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
问题描述
在
deepseek-v4-flash(推理模式)下,任何包含工具调用的轮次都会失败:最终拼接出的tool/call中name为空,执行器报告未知工具,代理重试后只返回空补全。同样的任务在glm-5.2上可以成功,因此问题出在适配器层,而非模型本身。根因分析
packages/llm/llm-deepseek/src/translate.ts第 159–160 行使用了!== undefined守卫:All reactions