Skip to content

[Bug]: provider definition is lost after metadata relabeling (residual of 4311) #4582

Description

@lidge-jun

Client or integration

Codex App

Area

Proxy / routing

Summary

Splitting a residual out of issue 4311, which is otherwise resolved on dev by 44027ae.

That issue reported two symptoms together. The first — paginated Codex history stopping projection after provider metadata relabeling — is fixed: src/codex/history-provider.ts now inspects a newest-record window and refuses in-place paginated tails, so the projector no longer stops at ordinal 0.

The second symptom is a different defect and was never addressed by that change: after the same relabeling, the client reports Model provider opencodex not found and the provider definition does not survive. Closing the parent issue against the merge without recording this would have quietly lost it, so it lives here instead.

Reproduction

  1. Run a Codex App session through the proxy with a provider definition named opencodex.
  2. Relabel provider metadata so the catalog rewrites the provider entry.
  3. Continue the existing thread rather than starting a new one.
  4. The client reports Model provider opencodex not found and the provider definition is gone, even though history now projects correctly after 44027ae.

Version

2.54.0 (dev at 44027ae)

Operating system

macOS

Provider and model

opencodex-local

Logs or error output

Model provider opencodex not found

Screenshots and supporting files

None.

Redacted configuration

Not applicable — the trigger is provider metadata relabeling rather than a specific configuration value.

Checks

  • I searched existing issues before filing
  • I can reproduce this on the current version

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingproxyHTTP proxy, routing, reverse-proxy / management auth

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions