Skip to content

fix: ignore sse comment frames#55

Merged
drewstone merged 1 commit into
mainfrom
fix/ignore-sse-comments
May 25, 2026
Merged

fix: ignore sse comment frames#55
drewstone merged 1 commit into
mainfrom
fix/ignore-sse-comments

Conversation

@drewstone
Copy link
Copy Markdown
Contributor

Summary

  • ignore comment-only SSE frames in the OpenAI-compatible backend parser
  • prevent control frames like : connected / : keepalive from becoming assistant text
  • add regression coverage for comment frames around normal chat deltas

Verification

  • pnpm exec vitest run tests/runtime.test.ts tests/backends-openai-usage.test.ts
  • pnpm typecheck
  • pnpm test
  • pnpm lint
  • pnpm build

@drewstone drewstone merged commit f333c5d into main May 25, 2026
1 check passed
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.

1 participant