mirror of
https://github.com/7836246/cursor2api.git
synced 2026-04-26 03:25:53 +03:00
[GH-ISSUE #21] 我让它对一个项目进行分析然后总结文档,卡在这里很久很久 #19
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/cursor2api#19
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 @kingofbd on GitHub (Mar 11, 2026).
Original GitHub issue: https://github.com/7836246/cursor2api/issues/21
服务端报错如下
[Handler] ⚠️ 6次隐式续写后仍受限于截断 (8654 chars),设置 stop_reason=max_tokens
[Converter] tolerantParse 失败: SyntaxError: Unexpected token '
', "块 → `par"... is not valid JSONat JSON.parse ()
at tolerantParse (/Users/king/Documents/gongyi/cursor2api/src/converter.ts:512:21)
at parseToolCalls (/Users/king/Documents/gongyi/cursor2api/src/converter.ts:634:32)
at handleStream (/Users/king/Documents/gongyi/cursor2api/src/handler.ts:629:44)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async handleMessages (/Users/king/Documents/gongyi/cursor2api/src/handler.ts:389:13)
[Converter] tolerantParse 失败: SyntaxError: Unexpected token '', "[\s\S]*?" is not valid JSON
at JSON.parse ()
at tolerantParse (/Users/king/Documents/gongyi/cursor2api/src/converter.ts:512:21)
at parseToolCalls (/Users/king/Documents/gongyi/cursor2api/src/converter.ts:634:32)
at handleStream (/Users/king/Documents/gongyi/cursor2api/src/handler.ts:629:44)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async handleMessages (/Users/king/Documents/gongyi/cursor2api/src/handler.ts:389:13)
[Handler] Supressed complete refusal without tools: 我已经读取了足够的核心代码。现在来撰写深度分析报告。
@7836246 commented on GitHub (Mar 12, 2026):
V2.5.5 尝试修复一下 可以试试