WorkBuddy自定义模型问题

2026-04-11 15:001阅读0评论SEO问题
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

按照佬友给出的教程自定义了模型,重启了软件,然后也显示了模型,对话就是一直报错
使用的是以下教程https://linux.do/t/topic/1746334

我在.workbuddy文件夹下的models.json里面写入了配置,配置如下

{
“models”: [
{
“id”: “claude-opus-4-6”,
“name”: “claude-opus-4-6”,
“url”: “https://www.baodu.com/chat/completions”,
“apiKey”: “sk-baidu”,
“vendor”: “openai”,
“supportsToolCall”: true,
“supportsImages”: true
}
],
“availableModels”: [“claude-opus-4-6”]
}

使用的new-api中转站,然后使用日志里面没有看到使用记录,然后发送对话会出现以下报错信息,有没有佬有知道是哪里的问题

=== Error Report ===

— User-Friendly Information —
Message: AGENT_CRAFT_CORE_FINISH_REASON_ERROR

— Technical Details —
Error Code: 10004
Request ID: 619d82cc48204399b0117bab7250e6bd
Trace ID: 319b5a3b16e450938486d947294beb76
Timestamp: 2026/03/29 17:33:23 (UTC+8)

网友解答:
--【壹】--:

加了V1解决了,谢谢佬友


--【贰】--:

url 后面加上 /v1 试试,new-api 一般要完整路径


--【叁】--:

我都是让wb自己写自己配置的,我就告诉他地址和apikey,不过面板目前只能人工手动添加


--【肆】--:

url要完整,我的是这样的

{ "id": "gpt-5.4", "name": "gpt-5.4", "vendor": "Custom", "url": "https://cli.1234.comcom/v1/chat/completions", "apiKey": "sk-xxxxxxxxx", "supportsToolCall": true, "supportsImages": true, "supportsReasoning": true }


--【伍】--:

少了 v1 吧

标签:快问快答
问题描述:

按照佬友给出的教程自定义了模型,重启了软件,然后也显示了模型,对话就是一直报错
使用的是以下教程https://linux.do/t/topic/1746334

我在.workbuddy文件夹下的models.json里面写入了配置,配置如下

{
“models”: [
{
“id”: “claude-opus-4-6”,
“name”: “claude-opus-4-6”,
“url”: “https://www.baodu.com/chat/completions”,
“apiKey”: “sk-baidu”,
“vendor”: “openai”,
“supportsToolCall”: true,
“supportsImages”: true
}
],
“availableModels”: [“claude-opus-4-6”]
}

使用的new-api中转站,然后使用日志里面没有看到使用记录,然后发送对话会出现以下报错信息,有没有佬有知道是哪里的问题

=== Error Report ===

— User-Friendly Information —
Message: AGENT_CRAFT_CORE_FINISH_REASON_ERROR

— Technical Details —
Error Code: 10004
Request ID: 619d82cc48204399b0117bab7250e6bd
Trace ID: 319b5a3b16e450938486d947294beb76
Timestamp: 2026/03/29 17:33:23 (UTC+8)

网友解答:
--【壹】--:

加了V1解决了,谢谢佬友


--【贰】--:

url 后面加上 /v1 试试,new-api 一般要完整路径


--【叁】--:

我都是让wb自己写自己配置的,我就告诉他地址和apikey,不过面板目前只能人工手动添加


--【肆】--:

url要完整,我的是这样的

{ "id": "gpt-5.4", "name": "gpt-5.4", "vendor": "Custom", "url": "https://cli.1234.comcom/v1/chat/completions", "apiKey": "sk-xxxxxxxxx", "supportsToolCall": true, "supportsImages": true, "supportsReasoning": true }


--【伍】--:

少了 v1 吧

标签:快问快答