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 — feat(api-access): expose gateway endpoints and external model catalog by Wibias · Pull Request #392 · lidge-jun/opencodex

Conversation

@Wibias

@Wibias Wibias commented Jul 24, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Summary

Follow-up for #357 on top of the already-merged Chat Completions gateway work in #279.

This PR improves the external aggregated model API experience without re-implementing /v1/chat/completions.

Changes

  • Add buildApiAccessEndpoints() and return richer metadata from GET /api/keys
  • Expand the API Access page to show:
    • /v1
    • /v1/responses
    • /v1/chat/completions
    • /v1/messages
    • /v1/models
  • Document auth differences between Responses and Chat Completions
  • Add an external model catalog with copy-ID and simple test actions
  • Add i18n coverage for en, de, ja, ko, ru, zh
  • Add regression test for API access endpoint metadata

Verification

  • bun test tests/api-access-endpoints.test.ts
  • cd gui && bun x tsc -b
  • cd gui && bun run build

Notes

This is intentionally scoped to the API Access slice. Remaining #357 work such as richer SDK examples, stronger remote-auth test UX, and key scopes/limits can follow in later PRs.

Summary by CodeRabbit

  • New Features
    • Expanded API Access with protocol-specific endpoints, authentication guidance, and curl/usage snippets.
    • Added an external Models catalog with searchable results, model ID copy, and per-model connectivity testing (including gated Claude “messages” support).
  • Localization
    • Updated API Access translations (DE/EN/JA/KO/RU/ZH) for endpoints, auth notes, and external model catalog text.
  • Bug Fixes
    • Improved API endpoint/base URL generation to correctly handle IPv6, wildcard binds, and request context.
  • UI/Style
    • Refined API page layout and connectivity status styling for models.
  • Tests
    • Added coverage for endpoint construction, IPv6/wildcard behavior, and external model/protocol classification.

Sorry, something went wrong.

Uh oh!

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

All reactions
@Wibias
feat(api-access): expose gateway endpoints and external model catalog
f5e4466
Extend the API Access page and /api/keys metadata for issue #357 follow-up work.
PR #279 already provides /v1/chat/completions on dev; this slice focuses on
dashboard guidance, endpoint metadata, model catalog visibility, and copy/test UX.

- add buildApiAccessEndpoints() and richer /api/keys response
- expand API Access UI with base URL, protocol endpoints, auth notes, and examples
- show externally callable models with copy/test actions
- add regression test and i18n coverage
@Wibias
Wibias requested review from Ingwannu and lidge-jun as code owners July 24, 2026 06:50
@github-actions github-actions Bot added the enhancement New feature or request label Jul 24, 2026
@coderabbitai

This comment was marked as outdated.

Sign in to view
coderabbitai[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

Ingwannu
Ingwannu requested changes Jul 24, 2026
View reviewed changes

@Ingwannu Ingwannu left a comment

Copy link
Copy Markdown
Owner

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API Access direction is useful, but this head is not mergeable yet. Required CI fails on all three primary platforms because src/server/management/oauth-account-routes.ts specifies endpoint twice in the returned object (TS2783). Please remove the duplicate/overwritten field, keep buildApiAccessEndpoints as the single source of truth, and rerun the exact-head CI before re-requesting review.

Sorry, something went wrong.

Uh oh!

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

All reactions
chatgpt-codex-connector[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@Wibias
Wibias marked this pull request as draft July 24, 2026 07:23
@Wibias
fix(api-access): address review feedback for external catalog page
fa9a05d
@Wibias
Wibias marked this pull request as ready for review July 24, 2026 18:25
chatgpt-codex-connector[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@Wibias
fix(api-access): address Codex review on model IDs and endpoint URLs
9a0e695
- preserve raw /v1/models IDs instead of rebuilding provider/id pairs
- normalize wildcard bind hosts to loopback in API access URLs
- expose claudeCodeEnabled from /api/keys and hide Messages UI when disabled
- add regression tests for wildcard hosts and Claude inbound gating
@Wibias

Wibias commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

Ready

All reactions

Sorry, something went wrong.

Uh oh!

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

@Wibias Wibias linked an issue Jul 25, 2026 that may be closed by this pull request
[Feature Request] Complete the external aggregated model API for third-party agents #357
Closed
@Wibias Wibias closed this Jul 25, 2026
@Wibias
Wibias deleted the codex/issue-357-api-access branch July 25, 2026 07:00
@coderabbitai coderabbitai Bot mentioned this pull request Jul 25, 2026
feat(gui): API Keys workspace view #444
Merged
6 tasks done
@Wibias
Wibias restored the codex/issue-357-api-access branch July 25, 2026 20:59
@Wibias Wibias reopened this Jul 25, 2026
Wibias added 3 commits July 25, 2026 23:05
@Wibias
merge(dev): resolve ApiKeys conflicts for API access PR
7f071f8
Keep the PR multi-endpoint catalog UI and i18n titles while preserving
dev's create-guard useRef and localized usage sample string.
@Wibias
Merge remote-tracking branch 'upstream/dev' into codex/issue-357-api-…
47e933d
…access
@Wibias
fix(api-access): gate Messages, classify aliases, and use request host
80eb452
Hide Messages examples when Claude inbound is off, classify bare /v1/models
rows via owned_by, and publish wildcard bind endpoints from the request host.
coderabbitai[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

Wibias added 2 commits July 25, 2026 23:20
@Wibias
fix(gui): move ApiKeys helpers out of the component module
55bda3b
Satisfy react-refresh/only-export-components by keeping classification and
protocol helpers in api-access-models.ts.
@Wibias
fix(gui): address CodeRabbit ApiKeys i18n and UX nits
bb3ce17
Align endpoint/subtitle translations, add ok test styling and clipboard
guarding, and drop unused api.* locale keys.
coderabbitai[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@Wibias
test(api-access): tighten Messages gate and IPv6 Host coverage
68e7c40
Lock the Claude-gated Messages usage panel to its nearest conditional and
cover bracketed IPv6 requestHost:port wildcard endpoint publishing.
coderabbitai[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@Wibias
fix(gui): document /v1/models auth in German API Access copy
35b344a
Align de api.authChatCompletions with other locales so Models uses the same
header guidance as Chat Completions.
@Wibias
Wibias merged commit 65c142f into lidge-jun:dev Jul 25, 2026
9 checks passed

Uh oh!

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

This was referenced Jul 25, 2026
fix(providers): honor saved baseUrl for alibaba-token-plan via override + choices #459
Closed
feat(kiro): honor native END_TURN and Opus 5 native reasoning effort #460
Closed
feat(cli): add ocx opencode launcher #461
Closed
fix(router): warn when a pinned provider discards a configured baseUrl #464
Closed
fix(gui): react-doctor shared foundations #466
Merged
refactor(gui): split Combos for react-doctor #467
Merged
refactor(gui): react-doctor cleanup for Startup/Debug/Storage/Usage #468
Merged
fix(gui): restore OpenAI account setup with canonical recovery gates #469
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Jul 25, 2026
refactor(gui): split ClaudeCode and ApiKeys for react-doctor #470
Merged
1 of 2 tasks
@Wibias
Wibias deleted the codex/issue-357-api-access branch July 27, 2026 03:53
@coderabbitai coderabbitai Bot mentioned this pull request Jul 29, 2026
security: harden post-merge service and management boundaries #707
Closed
@str0203 str0203 mentioned this pull request Sep 4, 2026
Feature request: Extend existing integrations to AI agents running in VS Code #3494
Closed
3 tasks done
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@Wibias
Merge pull request lidge-jun#392 from Wibias/codex/issue-357-api-access
823d3a5
feat(api-access): expose gateway endpoints and external model catalog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments
@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments
@Ingwannu Ingwannu Ingwannu requested changes
@lidge-jun lidge-jun Awaiting requested review from lidge-jun lidge-jun is a code owner

Uh oh!

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

Assignees

No one assigned

Labels

enhancement New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Feature Request] Complete the external aggregated model API for third-party agents

Uh oh!

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

2 participants

@Wibias @Ingwannu
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.