Skip to content

Conversation

@gexgd0419
Copy link

Fixes #116, where some AI response tokens are missing when connecting to OpenRouter APIs.

According to MDN docs, EventStream lines starting with a colon should be treated as comments and be ignored. This change ignores such lines to prevent them from causing troubles in further processing.

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.

Some output tokens went missing in AI responses

1 participant