Skip to content

bug: Can not use local models #11894

Closed as not planned
Closed as not planned

Description

@carolitascl

Pre-submit Checks

Describe the bug

When trying to use local models got this error

Response stream finished unexpectedly with internal error: Post "https:///chat/completions": Invalid request: host "" resolved to non-public address "127.0.0.1"

To reproduce

config a local model, then config in warp and ask something

Expected behavior

Remove the restriction of public ip to be able to use local models

Screenshots, videos, and logs

No response

Operating system (OS)

macOS

Operating system and version

26.5.0

Shell Version

No response

Current Warp version

v0.2026.05.27.15.44.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Activity

  1. added
    bug
    on May 29, 2026
  2. warp-for-oss commented on May 29, 2026

    @warp-for-oss
    Contributor

    @carolitascl

    This issue appears to overlap with existing issues:

    If this report is meaningfully different, please comment with the additional context or distinguishing behavior so a maintainer can review it. Otherwise, a maintainer may close it as a duplicate after review.

    Maintainer details

    I concluded that duplicate of existing custom inference endpoint reports requesting support for local/private model URLs that Warp currently rejects because endpoint requests are proxied through Warp's backend..

    Duplicate reasoning

    This is my automated analysis and may be incorrect. A maintainer will verify the details.

    Powered by Oz

  3. added
    area:agent
    duplicate
    enhancement
    os:mac
    repro:high
    triaged
    and removed
    bug
    on May 29, 2026
  4. advait-m commented on May 29, 2026

    @advait-m
    Member

    hey! to use local models, you'll need to make the endpoint publicly accessible via something like ngrok

    we cover this in our docs here on how to set up local models: https://docs.warp.dev/agent-platform/inference/custom-inference-endpoint/#using-local-models

  5. soguy commented on Jun 1, 2026

    @soguy

    At our company, we use a localhost HTTP LiteLLM proxy that routes calls to AWS Bedrock. Hence, we can't use it with Warp custom models until this is fixed.
    We are not allowed to make the local machine proxy URL public.

  6. advait-m commented on Jun 2, 2026

    @advait-m
    Member

    At our company, we use a localhost HTTP LiteLLM proxy that routes calls to AWS Bedrock. Hence, we can't use it with Warp custom models until this is fixed. We are not allowed to make the local machine proxy URL public.

    Thanks for explaining and sorry to hear that. Noted - could you open a separate issue explaining this, as a feature request? We can track upvotes on that issue (there's unfortunately a much larger technical undertaking to support this, so we won't be able to quickly prioritize this - tracking interest will help us move up in priority)

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

    area:agentduplicateenhancementos:macrepro:hightriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions