Skip to content

push#484

Open
CJackHwang wants to merge 3 commits into
mainfrom
dev
Open

push#484
CJackHwang wants to merge 3 commits into
mainfrom
dev

Conversation

@CJackHwang
Copy link
Copy Markdown
Owner

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

push

📝 补充信息 | Additional Information

@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ds2api Ready Ready Preview, Comment May 10, 2026 4:58pm

@CJackHwang CJackHwang changed the title Update VERSION push May 10, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 882d0d16ac

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +96 to +98
if closeLoc == nil {
*inside = true
break
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid suppressing all text after unmatched <|Tool|>

When a text chunk contains an opening tool marker without a matching close marker in the same or later chunks (for example, a literal token example like <|Tool|> or a close variant not matched by leakedToolResultCloseMarkerPattern), this branch flips inside to true and causes every subsequent chunk to be discarded from visible output. In streaming paths this can truncate the rest of an otherwise valid assistant response, rather than just stripping leaked tool payload.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] <|Assistant▁END▁OF▁TOOL_CALLS|> and <|Tool|> tokens leak into user-visible streaming output

2 participants