[GH-ISSUE #61] [Server] Full error details: Error: ANTHROPIC_TO_OPENAI_LOW_REASONING_THRESHOLD environment variable is required for intelligent reasoning_effort determination #52

Closed
opened 2026-02-27 07:17:42 +03:00 by kerem · 5 comments
Owner

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

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
kerem closed this issue 2026-02-27 07:17:42 +03:00
Author
Owner

@justlovemaki commented on GitHub (Oct 5, 2025):

这是在cc里面开了ultra think吧?

<!-- gh-comment-id:3368699981 --> @justlovemaki commented on GitHub (Oct 5, 2025): 这是在cc里面开了ultra think吧?
Author
Owner

@hawk0344 commented on GitHub (Oct 5, 2025):

我打开CC后就是写的“你好”。没写其他。

<!-- gh-comment-id:3368720819 --> @hawk0344 commented on GitHub (Oct 5, 2025): 我打开CC后就是写的“你好”。没写其他。
Author
Owner

@hawk0344 commented on GitHub (Oct 5, 2025):

Image,说明文档里面,我没有找到,应该怎么搜索关键词

<!-- gh-comment-id:3368727285 --> @hawk0344 commented on GitHub (Oct 5, 2025): ![Image](https://github.com/user-attachments/assets/0352e29b-3722-44a6-a585-c3d48be2badc),说明文档里面,我没有找到,应该怎么搜索关键词
Author
Owner

@hawk0344 commented on GitHub (Oct 5, 2025):

使用和报错的截图
Image

Image

<!-- gh-comment-id:3368731529 --> @hawk0344 commented on GitHub (Oct 5, 2025): 使用和报错的截图 ![Image](https://github.com/user-attachments/assets/1e4e96c6-1714-4435-8075-fbcf3893933f) ![Image](https://github.com/user-attachments/assets/a07e000f-cf57-4af9-8287-f400e2e72090)
Author
Owner

@justlovemaki commented on GitHub (Oct 5, 2025):

更新了代码,不用设置系统变量了,你再试试

<!-- gh-comment-id:3368806681 --> @justlovemaki commented on GitHub (Oct 5, 2025): 更新了代码,不用设置系统变量了,你再试试
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#52
No description provided.