Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
6Kmfi6HP
/
opencode2api
Public
Notifications
You must be signed in to change notification settings
Fork
19
Star
59
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
feat(stream): claude→responses 空流兜底 + 首 token 前自动重试
- #31
#31
Merged
6Kmfi6HP
merged 9 commits into
main
6Kmfi6HP/opencode2api:main
from
feat/stream-empty-retry
6Kmfi6HP/opencode2api:feat/stream-empty-retry
Copy head branch name to clipboard
Sep 27, 2026
Conversation
Commits
9
(9)
Checks
Files changed
Merged
feat(stream): claude→responses 空流兜底 + 首 token 前自动重试
#31
6Kmfi6HP
merged 9 commits into
main
6Kmfi6HP/opencode2api:main
from
feat/stream-empty-retry
6Kmfi6HP/opencode2api:feat/stream-empty-retry
Copy head branch name to clipboard
Commits
Commits on Sep 27, 2026
feat(stream): claude→responses 空流兜底与首 token 前重试
Show description for d308592
6Kmfi6HP
and
claude
committed
d308592
View commit details
Copy full SHA for d308592
Browse repository at this point
refactor(stream): extract protocol-agnostic driveStreamWithRetry helper
Show description for 5bc0689
6Kmfi6HP
and
claude
committed
5bc0689
View commit details
Copy full SHA for 5bc0689
Browse repository at this point
feat(chat): stream-empty retry on /v1/chat/completions direct path
Show description for dfb4aab
6Kmfi6HP
and
claude
committed
dfb4aab
View commit details
Copy full SHA for dfb4aab
Browse repository at this point
feat(chat-via-responses): peek/commit split for native responses upstream
Show description for c7c9982
6Kmfi6HP
and
claude
committed
c7c9982
View commit details
Copy full SHA for c7c9982
Browse repository at this point
feat(chat-via-anthropic): peek/commit split for native anthropic upstream
Show description for 4306634
6Kmfi6HP
and
claude
committed
4306634
View commit details
Copy full SHA for 4306634
Browse repository at this point
feat(responses): ensureCreated lazy WriteHeader + retry
Show description for c3509b3
6Kmfi6HP
and
claude
committed
c3509b3
View commit details
Copy full SHA for c3509b3
Browse repository at this point
feat(passthrough): peek + EOF synthesis for byte-relay streams
Show description for eecc1f7
6Kmfi6HP
and
claude
committed
eecc1f7
View commit details
Copy full SHA for eecc1f7
Browse repository at this point
fix(stream): address review findings — commit boundary, goroutine leak, status passthrough
Show description for a27ad6d
6Kmfi6HP
and
claude
committed
a27ad6d
View commit details
Copy full SHA for a27ad6d
Browse repository at this point
fix(chat): SSE frame separator must be \n\n, not \n
Show description for 7301f87
6Kmfi6HP
and
claude
committed
7301f87
View commit details
Copy full SHA for 7301f87
Browse repository at this point
You can’t perform that action at this time.