Repository navigation
Description
Summary
The "Add custom endpoint" dialog under Settings → Custom inference rejects all local and private-network URLs, making it impossible to connect to local LLM servers such as Ollama or LM Studio.
Problem
The Endpoint URL field shows a red validation border and the "Add endpoint" button remains disabled for every URL format tested, including:
http://localhost:11434/v1https://192.168.10.207:1234https://192.168.10.207:1234/v1http://localhost:11434
The placeholder text says "Please include 'https://'" but HTTPS URLs are also rejected. Both IP addresses and localhost fail. Manual retyping to rule out whitespace or copy-paste artifacts made no difference.
This blocks the primary use case for the custom endpoint feature: connecting to locally-hosted OpenAI-compatible servers (Ollama, LM Studio, vLLM, etc.).
Expected behavior
The URL field should accept any well-formed HTTP or HTTPS URL, including localhost, private IPs (e.g. 192.168.x.x), and loopback addresses (127.0.0.1). These are the most common endpoints for self-hosted LLM inference.
Actual behavior
All tested URLs produce a red validation border on the Endpoint URL field and the "Add endpoint" button stays greyed out. No error message explains why the URL is invalid.
Reproduction steps
- Open Settings → scroll to Custom inference section.
- Click "+ Add custom model".
- Fill in Endpoint name, API key, Model name.
- Enter any local URL in the Endpoint URL field (e.g.
http://localhost:11434/v1orhttps://192.168.10.207:1234/v1). - Observe the red border on the URL field and the disabled "Add endpoint" button.
Artifacts
None attached.
Warp version
Latest stable (macOS).
Operating system
macOS
Activity
warp-for-oss commentedon May 23, 2026
@WOODSEE-DIGI
Here's what I found while triaging this issue:
Current builds reject these URLs before saving: custom inference endpoints must use HTTPS and cannot point at localhost or private-network hosts. This means Ollama/LM Studio-style local endpoints are not currently supported by this Settings flow.
Maintainer details
I concluded that custom inference endpoint setup currently rejects localhost and private-network model server URLs because the Settings-side validator requires HTTPS and blocks local/private hosts..
Triage summary
The reported behavior is reproducible from the current client code: custom inference endpoint setup rejects local model server URLs before they can be saved. The Settings modal requires the endpoint URL to use HTTPS and also rejects localhost, loopback, private, unspecified, and link-local hosts, which covers the reporter's
http://localhost:11434/v1andhttps://192.168.10.207:1234/v1examples.Evidence
app/src/settings_view/custom_inference_modal.rs:864parses and validates the endpoint URL.app/src/settings_view/custom_inference_modal.rs:869rejects any scheme other than HTTPS, so plain HTTP local endpoints fail validation.app/src/settings_view/custom_inference_modal.rs:875rejects hosts classified as local/private, andapp/src/settings_view/custom_inference_modal.rs:889throughapp/src/settings_view/custom_inference_modal.rs:908classifylocalhost, loopback, private IPv4, unspecified, and link-local hosts as restricted.app/src/settings_view/custom_inference_modal.rs:881makes form validity depend on this validator, which keeps the Add endpoint button disabled.app/src/settings_view/custom_inference_modal_tests.rs:11andapp/src/settings_view/custom_inference_modal_tests.rs:60explicitly test rejection of HTTP and local/private hosts.crates/ai/src/api_keys.rs:239and included in agent request parameters fromapp/src/ai/agent/api.rs:229, so the blocking path for this report is the Settings-side validation.Duplicate check
I searched all open non-PR issues in
warpdotdev/warpand recent closed issues. #11589 is an exact/near-exact related report for localhost/local URL rejection, while #11514 and #11586 cover model discovery/import improvements and #9303 is a broader custom endpoint feature request that was closed recently. Because the duplicate workflow requires at least two existing likely duplicates before marking an issue as duplicate, I am not applying the duplicate label.Classification
This looks like a product/implementation gap in the custom inference endpoint rollout rather than an underspecified report. Supporting Ollama, LM Studio, vLLM, or other local OpenAI-compatible servers would require relaxing or redesigning the current URL restrictions, with an explicit decision about HTTP and local/private network targets.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
WOODSEE-DIGI commentedon May 23, 2026
Closing as filed — will monitor for response from the Warp team.