Skip to content

loading models.dev in built artifacts #8860

Closed

Description

@junmediatek

Description

The change d71153e does not handle bun macros inlined at build time.

I have push a PR #8828

please help to review, thank you.

Plugins

NA

OpenCode version

1.1.23

Steps to reproduce

run the opencode in the network-restricted environment

Screenshot and/or share link

NA

Operating System

Ubuntu 24.04

Terminal

VS Code remoteSSH

Activity

  1. junmediatek commented on Jan 16, 2026

    @junmediatek
    ContributorAuthor

    @rekram1-node @thdxr
    please help to check this issue

  2. github-actions commented on Jan 16, 2026

    @github-actions
    Contributor

    This issue might be a duplicate or closely related to existing issues. Please check:

    These issues all share the core problem of OpenCode's dependency on models.dev in network-restricted environments. Your fix in PR #8828 for handling bun macros inline at build time appears to be addressing a specific technical aspect of this broader issue.

    Feel free to ignore if your fix addresses a specific case not covered by the above issues.

  3. junmediatek commented on Jan 17, 2026

    @junmediatek
    ContributorAuthor

    @rekram1-node @thdxr

    Cloud you help to check this issue?
    The opencode can not be used in the private network env now.

  4. GitHubxsy commented on Jan 21, 2026

    @GitHubxsy

    I encountered the same problem. Is there any way to avoid it?

  5. junmediatek commented on Jan 21, 2026

    @junmediatek
    ContributorAuthor

    I encountered the same problem. Is there any way to avoid it?

    refer #9258

  6. jakiechris commented on Jan 30, 2026

    @jakiechris

    不能假定opencode拥有开放的网络环境,因为很多企业代码都是内网私有的。
    作为最好的开源AI编码辅助工具,请尽快去掉对任意外网的依赖,谢谢!
    特别是opencode老是试图打开models.dev

  7. github-actions commented on Apr 1, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions