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 — [FEATURE]:Build script ignores OPENCODE_MODELS_URL env var · Issue #11385 · anomalyco/opencode

[FEATURE]:Build script ignores OPENCODE_MODELS_URL env var #11385

New issue
Copy link
New issue
Copy link
Closed
#11384
Closed
[FEATURE]:Build script ignores OPENCODE_MODELS_URL env var#11385
#11384
Copy link
Assignees
thdxr
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Description

@bbartels
bbartels
opened on Jan 31, 2026
Issue body actions

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Description

The runtime respects OPENCODE_MODELS_URL to override the models.dev endpoint (see src/provider/models.ts:84), but the build script in script/build.ts hardcodes https://models.dev/api.json.

This makes it difficult to build in airgapped environments or when using an internal mirror.

Expected behavior

Build script should respect OPENCODE_MODELS_URL like the runtime does.

Current behavior

Build always fetches from https://models.dev/api.json regardless of environment configuration.

Activity

  1. bbartels
    added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 31, 2026
  2. github-actions
    assigned
    thdxr
    on Jan 31, 2026
  3. github-actions commented on Jan 31, 2026

    @github-actions
    github-actionsBot
    on Jan 31, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • [FEATURE]: Add option to disable models.dev fetch for corporate proxy environments #4959: [FEATURE]: Add option to disable models.dev fetch for corporate proxy environments - specifically addresses the need to skip models.dev fetch in restricted environments
    • Suppport for airgapped installation #2224: Support for airgapped installation - discusses environment variable configuration for airgapped deployments

    Feel free to ignore if none of these address your specific case.

  4. rekram1-node
    closed this as completedin #11384on Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @thdxr
    thdxr

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.