GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [codex] add native Umans provider by Ingwannu · Pull Request #21 · lidge-jun/opencodex

Conversation

@Ingwannu

@Ingwannu Ingwannu commented Jun 22, 2026

Copy link
Copy Markdown
Owner

What changed

  • Adds Umans Code as a native key-based provider preset using https://api.code.umans.ai/v1 and default model umans-coder.
  • Carries Umans model metadata into routed Codex catalog entries for context windows, image input support, and Codex-safe reasoning controls.
  • Adds registry, reasoning mapping, and catalog tests for the Umans provider.

Why

Manual Umans config can route requests, but the GUI/provider preset list is derived from the native provider registry. Without a registry entry, Umans does not appear as a first-class provider.

Validation

  • bun test tests/provider-registry-parity.test.ts tests/reasoning-effort.test.ts tests/codex-catalog.test.ts
  • bun run typecheck
  • bun test tests
  • Local derivation smoke confirmed deriveProviderPresets() includes umans and catalog entries expose docs-matched context/vision/reasoning metadata.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Ingwannu
add native Umans provider
39240fc
@Ingwannu
Ingwannu force-pushed the codex/umans-provider branch from 2eba83f to 39240fc Compare June 22, 2026 11:46
lidge-jun added a commit that referenced this pull request Jun 22, 2026
@lidge-jun @Ingwannu
feat: preserve provider catalog metadata caps
376c0c5
Preserves context-window cap behavior from PR #12 and Umans catalog metadata propagation from PR #21 while keeping the verified Anthropic Messages runtime path.

Co-authored-by: 0disoft <[email protected]>

Co-authored-by: Ingwannu <[email protected]>
@lidge-jun

lidge-jun commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Implemented the safe parts on dev in 376c0c5.

What was preserved from this PR:

  • provider registry/config metadata plumbing for modelContextWindows
  • provider registry/config metadata plumbing for modelInputModalities
  • Umans catalog metadata reaching routed Codex catalog entries

What was intentionally not merged:

  • switching Umans from adapter: anthropic to openai-chat
  • changing the base URL to https://api.code.umans.ai/v1
  • switching runtime calls from /v1/messages with x-api-key to /v1/chat/completions with bearer auth
  • removing escapeBuiltinToolNames

The current dev branch keeps the verified Umans Anthropic Messages path while adding the catalog metadata support. Credit is included in the dev commit:

Co-authored-by: Ingwannu [email protected]

Closing this draft PR as superseded by the dev implementation. Thank you for the contribution.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lidge-jun lidge-jun closed this Jun 22, 2026
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@lidge-jun @Ingwannu
feat: preserve provider catalog metadata caps
7f68329
Preserves context-window cap behavior from PR lidge-jun#12 and Umans catalog metadata propagation from PR lidge-jun#21 while keeping the verified Anthropic Messages runtime path.

Co-authored-by: 0disoft <[email protected]>

Co-authored-by: Ingwannu <[email protected]>
@wtfsayo wtfsayo mentioned this pull request Sep 27, 2026
fix(devin): carry reasoning signatures across turns #6116
Closed
3 of 7 tasks
@lidge-jun lidge-jun mentioned this pull request Sep 28, 2026
fix(devin): carry reasoning signatures across turns (carry #6116) #6184
Merged
3 tasks done
lidge-jun pushed a commit that referenced this pull request Sep 28, 2026
@wtfsayo @claude @lidge-jun
fix(devin): carry reasoning signatures across turns
bf49de2
SWE-2 streams its #10 delta_signature and #21 delta_signature_type after
the visible answer, so the Responses layer stores them as a signature-only
reasoning item behind the thinking item. The replay mapping kept only
thinking blocks with text, so the signature never went back, and GPT and
Gemini rows, whose reasoning is signature-only, replayed nothing at all.

- Decode #21 with #10 and carry the type inside the stored signature.
- Replay one unsigned thinking block plus exactly one signature-only block
  as a single signed prompt (#11, #12, #18), and replay signature-only
  turns instead of dropping them. Existing rules stay: a signed block wins
  over a stray signature-only block, and ambiguous mixes go unsigned.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit c483502)
lidge-jun pushed a commit that referenced this pull request Sep 28, 2026
@wtfsayo @claude @lidge-jun
fix(devin): carry reasoning signatures across turns
3346f0a
SWE-2 streams its #10 delta_signature and #21 delta_signature_type after
the visible answer, so the Responses layer stores them as a signature-only
reasoning item behind the thinking item. The replay mapping kept only
thinking blocks with text, so the signature never went back, and GPT and
Gemini rows, whose reasoning is signature-only, replayed nothing at all.

- Decode #21 with #10 and carry the type inside the stored signature.
- Replay one unsigned thinking block plus exactly one signature-only block
  as a single signed prompt (#11, #12, #18), and replay signature-only
  turns instead of dropping them. Existing rules stay: a signed block wins
  over a stray signature-only block, and ambiguous mixes go unsigned.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit c483502)
lidge-jun pushed a commit that referenced this pull request Sep 28, 2026
@wtfsayo @claude @lidge-jun
fix(devin): carry reasoning signatures across turns
48a713e
SWE-2 streams its #10 delta_signature and #21 delta_signature_type after
the visible answer, so the Responses layer stores them as a signature-only
reasoning item behind the thinking item. The replay mapping kept only
thinking blocks with text, so the signature never went back, and GPT and
Gemini rows, whose reasoning is signature-only, replayed nothing at all.

- Decode #21 with #10 and carry the type inside the stored signature.
- Replay one unsigned thinking block plus exactly one signature-only block
  as a single signed prompt (#11, #12, #18), and replay signature-only
  turns instead of dropping them. Existing rules stay: a signed block wins
  over a stray signature-only block, and ambiguous mixes go unsigned.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit c483502)
lidge-jun added a commit that referenced this pull request Sep 28, 2026
@lidge-jun @wtfsayo @claude
fix(devin): carry reasoning signatures across turns (carry #6116) (#6184
dd883e8
)

* fix(devin): carry reasoning signatures across turns

SWE-2 streams its #10 delta_signature and #21 delta_signature_type after
the visible answer, so the Responses layer stores them as a signature-only
reasoning item behind the thinking item. The replay mapping kept only
thinking blocks with text, so the signature never went back, and GPT and
Gemini rows, whose reasoning is signature-only, replayed nothing at all.

- Decode #21 with #10 and carry the type inside the stored signature.
- Replay one unsigned thinking block plus exactly one signature-only block
  as a single signed prompt (#11, #12, #18), and replay signature-only
  turns instead of dropping them. Existing rules stay: a signed block wins
  over a stray signature-only block, and ambiguous mixes go unsigned.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit c483502)

* fix(devin): never replay a Claude signature, and pin the signature-only wire

Cognition streams Claude's thinking as a summary while the signature covers
the original, so replaying the pair fails validation. Live on
claude-opus-5-5 the next turn of a tool loop was refused with
invalid_argument in 5 of 6 signed replays and 0 of 3 text-only ones, and
dev already failed the same way intermittently (3 of 6) because it paired
a single signed block. An Anthropic signature is now dropped and the
thinking text replayed alone; a signature stored before its type was
recorded falls back to the model being called. Through the proxy the
failing tool loop then completed 6 of 6.

Tests now check the signature-only turn's wire (#12 and #18, no #11) and
that a signature-only turn with no text and no tool call is kept.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit e61c7c3)

* docs(structure): note the withheld Anthropic signature in Devin replay

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit e0b81e5)

* fix(devin): replay Claude signatures and retry a refused turn without them

Withholding every Anthropic signature stopped the invalid_argument
refusals but also stopped Claude recalling its earlier reasoning: in the
live benchmark claude-opus-5-5 matched 2 of 6 on dev and 0 of 6 with the
signature withheld. The signature is sent again, and a turn Cognition
refuses with invalid_argument before any output is retried once with the
Anthropic signatures withheld and the thinking text kept. Other signature
types and refusals after output are not retried.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit ecd9eaa)

* fix(devin): retry a refused Claude turn even after it streamed reasoning

Live, Cognition's refusal of a signed Claude replay usually arrives after
the model has streamed its reasoning, its signature and a finish frame,
and nothing visible. Only visible output (text or tool calls) now blocks
the retry, so those turns are retried without the signature instead of
failing. Through the proxy the stress case completed 10 of 10 (dev failed
3 of 6) and recalled the hidden number 7 of 10.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit bfc56f5)

* docs(structure): the Claude signature retry ignores reasoning-only output

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit 073ef93)

* fix(devin): hold the signed attempt's reasoning until its outcome is known

The fallback yielded the signed attempt's reasoning and signature before
it knew whether Cognition would refuse the turn, so a successful unsigned
retry left the client holding the refused attempt's signature, which the
next turn would replay against the retry's thinking. When a fallback is
possible, the signed attempt's events are now held until its first
visible output or a clean finish, and discarded when the retry starts.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit 796b07f)

* fix(devin): heartbeat while signed reasoning is held, and keep the refused attempt's usage

- While the signed attempt's events are held, a plain heartbeat goes out
  at most every 15 seconds, so a long reasoning phase does not trip the
  bridge's upstream stall deadline. The held reasoning and signature stay
  held until the retry decision.
- The refused attempt was processed, so its final usage is added to every
  usage frame of the unsigned retry (frames are cumulative per request)
  instead of being dropped with its reasoning.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit 37848f4)

* fix(devin): report the refused attempt's usage before the retry starts

The refused attempt's usage reached the turn only through the retry's
usage frames, so a retry that reported no usage, or failed before its
first frame, dropped those tokens again. It is now emitted before the
retry and still added to every later retry frame.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit 78d62ed)

* fix(devin): pair late signatures only with adjacent reasoning

Co-authored-by: Sayo <[email protected]>

* fix(devin): heartbeat while signed reasoning waits for trailer

Co-authored-by: Sayo <[email protected]>

* fix(devin): bound held signed reasoning before streaming

Co-authored-by: Sayo <[email protected]>

* test(devin): retry signed refusal before history overflow classification

Co-authored-by: Sayo <[email protected]>

* docs(devin): explain reasoning continuity and fallback bounds

Co-authored-by: Sayo <[email protected]>

* fix(devin): include held signatures in payload bound

Co-authored-by: Sayo <[email protected]>

* docs(devin): keep adapter inventory table intact

Co-authored-by: Sayo <[email protected]>

* fix(devin): stop held heartbeat before release on error

Co-authored-by: Sayo <[email protected]>

* docs(structure): carry the model and wire rules into the restacked Devin row

Co-authored-by: Sayo <[email protected]>

* fix(devin): preserve signed refusal when retry budget is exhausted

Co-authored-by: Sayo <[email protected]>

* fix(devin): merge all held signature-attempt usage frames

Co-authored-by: Sayo <[email protected]>

---------

Co-authored-by: Sayo <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@lidge-jun lidge-jun mentioned this pull request Sep 30, 2026
fix(devin): bound held signature-type payloads #6315
Merged
7 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lidge-jun lidge-jun Awaiting requested review from lidge-jun lidge-jun will be requested when the pull request is marked ready for review lidge-jun is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Ingwannu @lidge-jun
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.