mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-25 09:25:59 +03:00
[GH-ISSUE #61] [Server] Full error details: Error: ANTHROPIC_TO_OPENAI_LOW_REASONING_THRESHOLD environment variable is required for intelligent reasoning_effort determination #52
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hawk0344 on GitHub (Oct 5, 2025).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/61
佬,用了您的项目,在claude code中,使用qwen cli的oauth认证方式,遇到了以上报错,我去你github的readme中查了一下,没有提到需要配置ANTHROPIC_TO_OPENAI_LOW_REASONING_THRESHOLD这个环境变量的值。
但是在convert.js的文件中看见了这一段
// 检查必需的环境变量
if (lowThresholdStr === undefined) {
throw new Error(“ANTHROPIC_TO_OPENAI_LOW_REASONING_THRESHOLD environment variable is required for intelligent reasoning_effort determination”);
}
请问
ANTHROPIC_TO_OPENAI_LOW_REASONING_THRESHOLD
和
ANTHROPIC_TO_OPENAI_HIGU_REASONING_THRESHOLD
必须要配置上吗?我的使用参加就是在claude code cli中使用 qwen code
@justlovemaki commented on GitHub (Oct 5, 2025):
这是在cc里面开了ultra think吧?
@hawk0344 commented on GitHub (Oct 5, 2025):
我打开CC后就是写的“你好”。没写其他。
@hawk0344 commented on GitHub (Oct 5, 2025):
@hawk0344 commented on GitHub (Oct 5, 2025):
使用和报错的截图

@justlovemaki commented on GitHub (Oct 5, 2025):
更新了代码,不用设置系统变量了,你再试试