Repository navigation
Description
Pre-submit Checks
- I have searched Warp bugs and there are no duplicates
- I have searched Warp known issues page and my issue is not there
- I have an issue with AI and have included the debugging ID (Optional, but helps expedite the AI quality fix). Debugging ID instructions
- I have technical issue and have included the logs (optional, but helps expedite the bug fix). Log instructions
Describe the bug
When configuring a Custom Inference endpoint in Warp Settings → AI → Model (for example a local Ollama server like http://localhost:11434 or a private OpenAI-compatible endpoint), AI requests are still routed through Warp infrastructure instead of connecting directly to the configured endpoint.
This creates several issues:
-
Data is not truly local
Even localhost/self-hosted endpoints still proxy requests through Warp servers.
-
Offline / air-gapped environments do not work
Warp cannot fully operate with local inference providers without internet access.
-
Unexpected privacy behavior
The current “Custom Endpoint” behavior implies direct connectivity, but traffic still transits Warp infrastructure.
-
Extra network latency
Requests incur unnecessary proxy hops before reaching the actual endpoint.
-
Enterprise/compliance concerns
Organizations using self-hosted AI providers may require guarantees that prompts and responses never leave internal infrastructure.
When a user configures a custom endpoint, requests should optionally connect directly to that endpoint without intermediary routing.
Suggested solution:
-
Add a “Direct Connection” toggle in Custom Endpoint settings
-
When enabled:
-
requests go directly to
endpoint_url -
no Warp proxy is used
-
localhost/private-network endpoints work correctly
-
offline inference becomes possible
-
Example UI:
[ ] Route through Warp Cloud (default)
[x] Connect directly
To reproduce
-
Open Warp Settings → AI → Model
-
Configure a Custom Endpoint such as:
http://localhost:11434
-
Start a local inference provider (Ollama, LM Studio, etc.)
-
Disconnect internet access OR monitor outbound connections
-
Send an AI request in Warp
Observed behavior:
-
requests still depend on Warp infrastructure
-
localhost traffic is not fully direct
-
offline operation fails
Expected behavior
When a Custom Endpoint is configured with “Direct Connection” enabled:
-
requests should go directly to the configured endpoint
-
localhost/private endpoints should work offline
-
no Warp infrastructure should proxy the request
-
connection failures should surface clear UI errors instead of silently falling back
Screenshots, videos, and logs
Packet capture / request inspection would show traffic resolving through Warp infrastructure even when localhost endpoints are configured.
Relevant environments tested:
-
Ollama (
localhost:11434) -
local OpenAI-compatible APIs
-
offline/local inference workflows
Operating system (OS)
macOS
Operating system and version
macOS 15
Shell Version
bash zsh --version
Current Warp version
text v0.2026.xx.xx
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
| Concern | Current Behavior | With Direct Connection |
|---|---|---|
| Privacy | Traffic passes through Warp | Fully direct |
| Offline usage | Not possible | Supported |
| Local models | Limited | Works properly |
| Latency | Extra proxy hop | Direct connection |
| Enterprise adoption | Difficult | More compliant |
Does this block you from using Warp daily?
No
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
warp-for-oss commentedon May 27, 2026
@Pcmhacker-piro
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 request for direct/private custom inference endpoint routing; current custom inference is server-mediated and rejects localhost/private URLs..
Duplicate reasoning
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
Pcmhacker-piro commentedon May 27, 2026
This feels like both a trust issue and a functionality limitation in the current Custom Endpoint implementation.
Right now, the UI strongly implies that configuring a Custom Inference endpoint means Warp connects directly to the user-provided endpoint. However, requests are still routed through Warp infrastructure before reaching the target endpoint.
That creates several practical problems:
I’d love to contribute a PR for this because the implementation actually seems fairly clean and well-scoped.
Proposed backend approach (Rust)
Introduce a transport/proxy mode enum:
leesa-ui-w commentedon May 28, 2026
Hey @Pcmhacker-piro, thanks for the detailed writeup! Same ground as #11681. Closing this one to consolidate there.