feat(providers): share Responses backend with Codex WebSocket continuation (#6096)
* feat(codex): continue sessions over Responses WebSocket * fix(codex): retain API errors with repeated handshake headers * test(codex): assert attachment paths before JSON escaping * refactor(providers): share Responses transport and state backend * fix(grok): update subscription client version * docs: keep Codex configuration focused on user settings
This commit is contained in:
1 parent
59b89a834c
commit
5be1e589f2
39 files changed
+1690
-801
No files matched your search
@@ -17,7 +17,7 @@ from nanobot.providers.registry import find_by_name
|
||||
|
||||
def _make_copilot_provider() -> OpenAICompatProvider:
|
||||
"""Build a bare provider with the real github_copilot spec (no network)."""
|
||||
p = OpenAICompatProvider.__new__(OpenAICompatProvider)
|
||||
p = OpenAICompatProvider(api_key="fixture", spec=find_by_name("github_copilot"))
|
||||
p.default_model = "github_copilot/gpt-5.4-mini"
|
||||
p._spec = find_by_name("github_copilot")
|
||||
p._effective_base = "https://api.githubcopilot.com"
|
||||
|
||||
Reference in new issue
Block a user