Commit Graph
2 Commits
Author SHA1 Message Date
yetoneandrelus-cy d53f90e746 gateway: Codex's namespaced tools reach a model magpie serves — spawn_agent, wait_agent and the rest of collaboration come inside a Responses namespace, which was dropped whole; each of its functions is offered as <namespace>__<name> (cut to 64 with a hash when longer), a past call with a namespace is read back under that name, and a call to one goes back to Codex with its name and namespace, streamed or not (#130)
Co-authored-by: relus-cy <14657224+relus-cy@users.noreply.github.com>
2026-09-28 14:01:27 +08:00
Jeremy Levartovsky 48071e9ab9 gateway: a Claude reply cut off by the context window says it was cut off (#88)
Claude 4.5 and later stop with model_context_window_exceeded when the
reply runs into the context window before max_tokens. It was read as a
normal end, so a Chat Completions client got finish_reason "stop" and a
Responses client status "completed" for a truncated reply; it now
reads as length, as max_tokens does.
2026-09-26 18:59:26 +08:00