AxonHub如何简单方式透传思考参数呢?

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

部分对话客户端,比如cherry studio,自带的思考强度只到high,cpa可以通过在调用的模型id后面加上(xhigh)来透传思考参数,Axon有类似的办法吗?

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

渠道中可以设置覆盖请求体


--【贰】--:

但是这会导致这个渠道只能 xhigh 了吧,只想按需使用来着,大多数情况下还是用客户端透传的思考参数


--【叁】--:

虽然得每个渠道设置一遍,没有 cpa 那么方便,但是 Axon 好像也只能这样了


--【肆】--:

以渠道请求格式为 /v1/responses 模型为gpt-5.4 举例子

Screen Shot 2026-04-01 at 4.50.07 PM1362×802 78.2 KB
Screen Shot 2026-04-01 at 4.54.27 PM799×842 55.7 KB
Screen Shot 2026-04-01 at 5.23.38 PM450×797 34 KB
Screen Shot 2026-04-01 at 5.29.02 PM898×799 48.2 KB

修改模型别名

  • 渠道 > 单个渠道 > 操作 > 模型别名

gpt-5.4-xhigh → gpt-5.4 gpt-5.4-high → gpt-5.4 gpt-5.4-medium → gpt-5.4 gpt-5.4-low → gpt-5.4

修改请求体

  • 渠道 > 单个渠道 > 操作 > 覆盖设置 > 覆盖请求体
    • 需要创建四个「新增操作」,以第一个为例分别填写
    • 操作类型: 设置
    • 路径: reasoning.effort
    • 值: xhigh
    • 条件: {{if eq .RequestModel "gpt-5.4-xhigh"}}true{{end}} 注意这里的转义字符\" 填写的时候是 "
    • 其他三个「新增操作的参数」在下面的 JSON 数组里面

[ { "op": "set", "path": "reasoning.effort", "value": "xhigh", "condition": "{{if eq .RequestModel \"gpt-5.4-xhigh\"}}true{{end}}" }, { "op": "set", "path": "reasoning.effort", "value": "high", "condition": "{{if eq .RequestModel \"gpt-5.4-high\"}}true{{end}}" }, { "op": "set", "path": "reasoning.effort", "value": "medium", "condition": "{{if eq .RequestModel \"gpt-5.4-medium\"}}true{{end}}" }, { "op": "set", "path": "reasoning.effort", "value": "low", "condition": "{{if eq .RequestModel \"gpt-5.4-low\"}}true{{end}}" } ]

这两个地方改完后,Cherry Studio 里面配置时传递对应的模型后缀就同时修改了推理程度

  • gpt-5.4-low 轻度推理 Fast responses with lighter reasoning
  • gpt-5.4-medium 中等推理 默认 Balances speed and reasoning depth for everyday tasks
  • gpt-5.4-high 深度推理 Greater reasoning depth for complex problems
  • gpt-5.4-xhigh 超深度推理 Extra high reasoning depth for complex problems

同理如果你想复写 gpt-4.1 上面的流程也是差不多的

  • 增加别名
  • 复写请求体

--【伍】--:

补充说明,如果你的渠道是 OpenAI Chat Completions,在 覆盖请求体 里填写的是这个 JSON 数组

[ { "op": "set", "path": "reasoning_effort", "value": "xhigh", "condition": "{{if eq .RequestModel \"gpt-5.4-xhigh\"}}true{{end}}" }, { "op": "set", "path": "reasoning_effort", "value": "high", "condition": "{{if eq .RequestModel \"gpt-5.4-high\"}}true{{end}}" }, { "op": "set", "path": "reasoning_effort", "value": "medium", "condition": "{{if eq .RequestModel \"gpt-5.4-medium\"}}true{{end}}" }, { "op": "set", "path": "reasoning_effort", "value": "low", "condition": "{{if eq .RequestModel \"gpt-5.4-low\"}}true{{end}}" } ]


--【陆】--:

又学到了一招,多谢佬

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

部分对话客户端,比如cherry studio,自带的思考强度只到high,cpa可以通过在调用的模型id后面加上(xhigh)来透传思考参数,Axon有类似的办法吗?

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

渠道中可以设置覆盖请求体


--【贰】--:

但是这会导致这个渠道只能 xhigh 了吧,只想按需使用来着,大多数情况下还是用客户端透传的思考参数


--【叁】--:

虽然得每个渠道设置一遍,没有 cpa 那么方便,但是 Axon 好像也只能这样了


--【肆】--:

以渠道请求格式为 /v1/responses 模型为gpt-5.4 举例子

Screen Shot 2026-04-01 at 4.50.07 PM1362×802 78.2 KB
Screen Shot 2026-04-01 at 4.54.27 PM799×842 55.7 KB
Screen Shot 2026-04-01 at 5.23.38 PM450×797 34 KB
Screen Shot 2026-04-01 at 5.29.02 PM898×799 48.2 KB

修改模型别名

  • 渠道 > 单个渠道 > 操作 > 模型别名

gpt-5.4-xhigh → gpt-5.4 gpt-5.4-high → gpt-5.4 gpt-5.4-medium → gpt-5.4 gpt-5.4-low → gpt-5.4

修改请求体

  • 渠道 > 单个渠道 > 操作 > 覆盖设置 > 覆盖请求体
    • 需要创建四个「新增操作」,以第一个为例分别填写
    • 操作类型: 设置
    • 路径: reasoning.effort
    • 值: xhigh
    • 条件: {{if eq .RequestModel "gpt-5.4-xhigh"}}true{{end}} 注意这里的转义字符\" 填写的时候是 "
    • 其他三个「新增操作的参数」在下面的 JSON 数组里面

[ { "op": "set", "path": "reasoning.effort", "value": "xhigh", "condition": "{{if eq .RequestModel \"gpt-5.4-xhigh\"}}true{{end}}" }, { "op": "set", "path": "reasoning.effort", "value": "high", "condition": "{{if eq .RequestModel \"gpt-5.4-high\"}}true{{end}}" }, { "op": "set", "path": "reasoning.effort", "value": "medium", "condition": "{{if eq .RequestModel \"gpt-5.4-medium\"}}true{{end}}" }, { "op": "set", "path": "reasoning.effort", "value": "low", "condition": "{{if eq .RequestModel \"gpt-5.4-low\"}}true{{end}}" } ]

这两个地方改完后,Cherry Studio 里面配置时传递对应的模型后缀就同时修改了推理程度

  • gpt-5.4-low 轻度推理 Fast responses with lighter reasoning
  • gpt-5.4-medium 中等推理 默认 Balances speed and reasoning depth for everyday tasks
  • gpt-5.4-high 深度推理 Greater reasoning depth for complex problems
  • gpt-5.4-xhigh 超深度推理 Extra high reasoning depth for complex problems

同理如果你想复写 gpt-4.1 上面的流程也是差不多的

  • 增加别名
  • 复写请求体

--【伍】--:

补充说明,如果你的渠道是 OpenAI Chat Completions,在 覆盖请求体 里填写的是这个 JSON 数组

[ { "op": "set", "path": "reasoning_effort", "value": "xhigh", "condition": "{{if eq .RequestModel \"gpt-5.4-xhigh\"}}true{{end}}" }, { "op": "set", "path": "reasoning_effort", "value": "high", "condition": "{{if eq .RequestModel \"gpt-5.4-high\"}}true{{end}}" }, { "op": "set", "path": "reasoning_effort", "value": "medium", "condition": "{{if eq .RequestModel \"gpt-5.4-medium\"}}true{{end}}" }, { "op": "set", "path": "reasoning_effort", "value": "low", "condition": "{{if eq .RequestModel \"gpt-5.4-low\"}}true{{end}}" } ]


--【陆】--:

又学到了一招,多谢佬

标签:快问快答