Skip to content

[Feature]: GUI fields (or a built-in registry) for per-model capability metadata on relay providers #485

Closed as not planned

Description

@a1980881039

Version: v2.7.40

Problem
Many OpenAI-compatible relays return only model ids from /models, with no context-length or capability metadata. Several opencodex features then silently degrade unless the user manually registers per-model metadata:

The required keys (modelContextWindows, modelInputModalities, modelReasoningEfforts, modelDefaultReasoningEfforts) exist in the provider config, but the provider edit form in the GUI does not expose them — I could not find any way to set them from the dashboard and had to write them via POST /api/providers.

Suggestions

  1. Expose per-model metadata fields in the provider edit UI (at minimum context window).
  2. Even better: ship a small built-in capability registry for well-known models (e.g. kimi-k3 → 262144 ctx, text+image, efforts low/high/max) so relay users get correct metadata for free when upstream omits it.

Activity

  1. added
    enhancement
    on Jul 26, 2026
  2. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor

    Issue closed: insufficient detail

    Thanks for taking the time to submit this issue. It was closed automatically because the structured report is missing information needed to evaluate or reproduce it.

    • Required sections are missing or empty: goal / problem, expected behaviour.

    Please edit the issue to add:

    • Fill in each required section with specific detail about your workflow.

    See the Contributing guide for details.

    Once the report passes the automated checks, it will be reopened automatically unless a maintainer has changed its state.

  3. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor

    Automated translation bookkeeping — detected language: English.

  4. a1980881039 commented on Jul 26, 2026

    @a1980881039
    Author

    One more note: if you're busy, I'd be happy to take a stab at this myself and open a PR. Just let me know.

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

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions