You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to set base_url for openai compatible endpoints for using Oz - use any provider instead of the big 3 #9368
area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.area:settings-keybindingsSettings UI, preferences, keybindings, and keyboard-shortcut management.duplicateThis issue or pull request already exists.enhancementNew feature or request.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.
A way to set any base_url for the openai endpoint wen using Oz. That way I have the option of using either locally hosted models (llama.cpp, vllm, sglang) or opensource models that are hosted by third party providers (parasail, deepinfra, openrouter, etc).
Is your feature request related to a problem? Please describe.
I refuse to use Oz until I have the option of running my own locally hosted model or from a trusted third party provider (or on rented hardware like runpod).
Status: this is still an open, triaged product gap, not a setting that exists today. #9368 is marked duplicate/related to the broader custom LLM endpoint request tracked in #4687, with closely related OpenAI-compatible endpoint threads like #9303 and #9241.
The reporter has already clarified the intended scope: local interactive Oz in the Warp app, configured through Settings/model picker, with a global endpoint. A draft PR, #9253, adds OpenRouter BYOK model support, but it explicitly does not add arbitrary base_url/custom model catalog support, so it would not fully resolve this request.
Reasoning
Used response mode because this run was triggered by an @oz-agent status question on an already-triaged issue; no labels should be changed. Current issue state from GitHub: #9368 is open with labels enhancement, duplicate, triaged, repro:high, area:agent, and area:settings-keybindings. Duplicate/status context: #4687 is open/reopened and is the broad request to allow users to specify LLM endpoints/APIs for other models; #9303 is open and specifically requests custom OpenAI-compatible provider endpoints; #9241 was closed as duplicate of #4687. Implementation evidence: current client code models providers as fixed enum variants only (app/src/ai/llms.rs:86-99 and GraphQL conversion in app/src/server/server_api/ai.rs:2118-2154). BYOK storage is keyed by named providers (crates/ai/src/api_keys.rs:16-31), and the Settings UI creates API key editors for OpenAI, Anthropic, and Google without a generic endpoint/base_url/model-id editor (app/src/settings_view/ai_page.rs:6243-6360). Models are still fetched from the server-approved feature model list (app/src/ai/llms.rs:850-899), so a generic OpenAI-compatible endpoint would require product/design and client/server/provider-routing work beyond adding a single key field. PR #9253 is open draft and its body says it adds OpenRouter as a recognized BYOK provider but intentionally does not fetch arbitrary OpenRouter catalog models client-side, because selected models are validated against the server-approved model list.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Current Warp docs describe BYOK for Anthropic, OpenAI, and Google only; custom OpenAI-compatible base URLs are not documented. Cloud Oz agents also currently do not use BYOK, so clarifying local vs cloud scope is the key product question.
I have a few follow-up questions before I can narrow this down:
Should this custom OpenAI-compatible endpoint support local interactive Oz runs, cloud/API-triggered Oz agents, or both?
Which configuration surface matters most for your workflow: Warp Settings/model picker, oz agent run flags/config files, or the Oz API/SDK?
Reply in-thread with those details and the triage workflow will automatically re-evaluate the issue and update the diagnosis, labels, and next steps.
Maintainer details
I concluded that enhancement request to let Oz use arbitrary OpenAI-compatible base URLs for local or third-party model providers instead of only Warp-supported provider/model routing..
Initial triage
Summary: This is an enhancement request for Oz to support arbitrary OpenAI-compatible base_url endpoints so users can run local models or third-party hosted open-source models.
Classification: Enhancement request, area:agent. The selected macOS field appears to be the reporter's environment, but the request is not obviously macOS-specific.
Evidence from code/docs:
crates/warp_cli/src/model.rs exposes only a --model override, and crates/warp_cli/src/agent.rs wires that into Oz agent commands without an endpoint/base URL option.
app/src/ai/agent_sdk/config_file.rs accepts config-file keys such as model_id, environment_id, base_prompt, mcp_servers, host, and computer_use_enabled; unknown keys are denied, so base_url is not currently part of the local config schema.
app/src/ai/ambient_agents/task.rs defines the runtime AgentConfigSnapshot with model_id and related Oz config fields, but no generic provider endpoint.
app/src/ai/llms.rs models fixed providers/hosts (OpenAI, Anthropic, Google, Xai, DirectApi, AwsBedrock) and server-provided model choices, while crates/ai/src/api_keys.rs stores provider-specific keys rather than endpoint metadata.
app/src/settings_view/ai_page.rs renders BYOK inputs for OpenAI, Anthropic, and Google only. Current Warp docs likewise describe BYOK for Anthropic/OpenAI/Google and note that BYOK does not apply to Oz Cloud Agents; BYOLLM docs describe AWS Bedrock-only routing for interactive Oz agents.
Likely root cause / feature gap: Oz's current public/local configuration surfaces and BYOK settings do not have a generic OpenAI-compatible endpoint abstraction. Adding this would likely require schema/UI/CLI changes and backend routing decisions, especially if the reporter expects cloud/API-triggered Oz agents to use the endpoint.
Reproducibility: High for the feature gap: the current config and documented BYOK surfaces do not expose an arbitrary OpenAI-compatible base_url.
Duplicate check: Recent/open issues include adjacent provider expansion requests (#9321 for Nebius Token Factory and #9314 for Vertex AI/GCP credentials), but they do not request the same arbitrary OpenAI-compatible endpoint capability. Under the two-strong-match duplicate rule, this should not be marked as a duplicate.
Suggested SMEs:@bnavetta and @ianhodge for Oz CLI/API/agent SDK routing, @abhishekp106 for cloud agent configuration/execution profiles, and @lucieleblanc if the solution includes Settings/BYOK UI.
Follow-up questions for the reporter:
Should this custom OpenAI-compatible endpoint support local interactive Oz runs, cloud/API-triggered Oz agents, or both?
Which configuration surface matters most for your workflow: Warp Settings/model picker, oz agent run flags/config files, or the Oz API/SDK?
Question reasoning
Should this custom OpenAI-compatible endpoint support local interactive Oz runs, cloud/API-triggered Oz agents, or both? — Warp's current local BYOK, interactive Oz, and cloud-agent routing have different constraints, and the report says Oz generally without specifying which run mode must work.
Which configuration surface matters most for your workflow: Warp Settings/model picker, oz agent run flags/config files, or the Oz API/SDK? — The existing code has separate settings UI, CLI/config-file, and API payload surfaces; knowing the reporter's primary workflow would materially affect product scope and ownership.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Thanks for raising this. @zachlloyd started a discussion for BYO LLM support across BYOK, arbitrary OpenAI-compatible endpoints, local model support, and ACP. Here's the latest update: #9619 (comment)
Thanks for raising this. Warp now supports custom inference endpoints compatible with the OpenAI Chat Completions API.
This covers the core request to configure an OpenAI-compatible base URL for local interactive sessions in Warp. You can set this up under Settings → AI.
Closing this as completed now that custom endpoint support is available for local interactive usage. If you hit a case where BYOK or custom inference endpoints don’t apply, please open a new focused issue with the workflow, endpoint, model, and error details.
area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.area:settings-keybindingsSettings UI, preferences, keybindings, and keyboard-shortcut management.duplicateThis issue or pull request already exists.enhancementNew feature or request.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.
Activity
warp-for-oss commentedon Apr 29, 2026
@Manoj7ar
Status: this is still an open, triaged product gap, not a setting that exists today. #9368 is marked duplicate/related to the broader custom LLM endpoint request tracked in #4687, with closely related OpenAI-compatible endpoint threads like #9303 and #9241.
The reporter has already clarified the intended scope: local interactive Oz in the Warp app, configured through Settings/model picker, with a global endpoint. A draft PR, #9253, adds OpenRouter BYOK model support, but it explicitly does not add arbitrary
base_url/custom model catalog support, so it would not fully resolve this request.Reasoning
Used response mode because this run was triggered by an @oz-agent status question on an already-triaged issue; no labels should be changed. Current issue state from GitHub: #9368 is open with labels enhancement, duplicate, triaged, repro:high, area:agent, and area:settings-keybindings. Duplicate/status context: #4687 is open/reopened and is the broad request to allow users to specify LLM endpoints/APIs for other models; #9303 is open and specifically requests custom OpenAI-compatible provider endpoints; #9241 was closed as duplicate of #4687. Implementation evidence: current client code models providers as fixed enum variants only (
app/src/ai/llms.rs:86-99and GraphQL conversion inapp/src/server/server_api/ai.rs:2118-2154). BYOK storage is keyed by named providers (crates/ai/src/api_keys.rs:16-31), and the Settings UI creates API key editors for OpenAI, Anthropic, and Google without a generic endpoint/base_url/model-id editor (app/src/settings_view/ai_page.rs:6243-6360). Models are still fetched from the server-approved feature model list (app/src/ai/llms.rs:850-899), so a generic OpenAI-compatible endpoint would require product/design and client/server/provider-routing work beyond adding a single key field. PR #9253 is open draft and its body says it adds OpenRouter as a recognized BYOK provider but intentionally does not fetch arbitrary OpenRouter catalog models client-side, because selected models are validated against the server-approved model list.This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
warp-for-oss commentedon Apr 29, 2026
@nate-lrt
You can view the triage session on Warp.
Here's what I found while triaging this issue:
Current Warp docs describe BYOK for Anthropic, OpenAI, and Google only; custom OpenAI-compatible base URLs are not documented. Cloud Oz agents also currently do not use BYOK, so clarifying local vs cloud scope is the key product question.
I have a few follow-up questions before I can narrow this down:
oz agent runflags/config files, or the Oz API/SDK?Reply in-thread with those details and the triage workflow will automatically re-evaluate the issue and update the diagnosis, labels, and next steps.
Maintainer details
I concluded that enhancement request to let Oz use arbitrary OpenAI-compatible base URLs for local or third-party model providers instead of only Warp-supported provider/model routing..
Initial triage
Summary: This is an enhancement request for Oz to support arbitrary OpenAI-compatible
base_urlendpoints so users can run local models or third-party hosted open-source models.Classification: Enhancement request,
area:agent. The selected macOS field appears to be the reporter's environment, but the request is not obviously macOS-specific.Evidence from code/docs:
crates/warp_cli/src/model.rsexposes only a--modeloverride, andcrates/warp_cli/src/agent.rswires that into Oz agent commands without an endpoint/base URL option.app/src/ai/agent_sdk/config_file.rsaccepts config-file keys such asmodel_id,environment_id,base_prompt,mcp_servers,host, andcomputer_use_enabled; unknown keys are denied, sobase_urlis not currently part of the local config schema.app/src/ai/ambient_agents/task.rsdefines the runtimeAgentConfigSnapshotwithmodel_idand related Oz config fields, but no generic provider endpoint.app/src/ai/llms.rsmodels fixed providers/hosts (OpenAI,Anthropic,Google,Xai,DirectApi,AwsBedrock) and server-provided model choices, whilecrates/ai/src/api_keys.rsstores provider-specific keys rather than endpoint metadata.app/src/settings_view/ai_page.rsrenders BYOK inputs for OpenAI, Anthropic, and Google only. Current Warp docs likewise describe BYOK for Anthropic/OpenAI/Google and note that BYOK does not apply to Oz Cloud Agents; BYOLLM docs describe AWS Bedrock-only routing for interactive Oz agents.Likely root cause / feature gap: Oz's current public/local configuration surfaces and BYOK settings do not have a generic OpenAI-compatible endpoint abstraction. Adding this would likely require schema/UI/CLI changes and backend routing decisions, especially if the reporter expects cloud/API-triggered Oz agents to use the endpoint.
Reproducibility: High for the feature gap: the current config and documented BYOK surfaces do not expose an arbitrary OpenAI-compatible
base_url.Duplicate check: Recent/open issues include adjacent provider expansion requests (#9321 for Nebius Token Factory and #9314 for Vertex AI/GCP credentials), but they do not request the same arbitrary OpenAI-compatible endpoint capability. Under the two-strong-match duplicate rule, this should not be marked as a duplicate.
Suggested SMEs: @bnavetta and @ianhodge for Oz CLI/API/agent SDK routing, @abhishekp106 for cloud agent configuration/execution profiles, and @lucieleblanc if the solution includes Settings/BYOK UI.
Follow-up questions for the reporter:
oz agent runflags/config files, or the Oz API/SDK?Question reasoning
oz agent runflags/config files, or the Oz API/SDK? — The existing code has separate settings UI, CLI/config-file, and API payload surfaces; knowing the reporter's primary workflow would materially affect product scope and ownership.This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
nate-lrt commentedon Apr 29, 2026
@oz-agent Per your questions (in your second comment):
Just local interactive ones.
warp settings/model picker
nate-lrt commentedon Apr 29, 2026
Per your questions in your first comment:
Manoj7ar commentedon Apr 29, 2026
@oz-agent One distinction that may help separate this from the broader duplicate issues:
This request is specifically about interactive Oz provider routing inside Warp UI, not just arbitrary endpoint support.
The key workflow is:
with:
base_urland then using that provider transparently in local interactive Oz sessions.
That’s a narrower and more concrete product surface than “support local models” or “support arbitrary providers” in the abstract.
The implementation shape seems pretty bounded:
OpenAICompatibleprovider type alongside current fixed providersbase_url+ auth metadata in the existing provider config layerThat would unlock a broad ecosystem immediately:
without Warp needing native integrations for each.
So the ask here is less “support everything” and more “add one provider abstraction that covers many backends.”
nate-lrt commentedon Apr 29, 2026
Thank you! Sorry I suck at explaining haha but that's exactly what I wanted!
Manoj7ar commentedon Apr 29, 2026
@oz-agent What's the status on this?
zerx-lab commentedon Apr 30, 2026
For folks tracking this — there's a community fork OpenWarp that already implements BYOP on top of upstream Warp:
Not affiliated with Warp Inc. — just sharing in case it helps while the official feature is being considered.
Source: https://github.com/zerx-lab/warp
bholmesdev commentedon May 6, 2026
Thanks for raising this. @zachlloyd started a discussion for BYO LLM support across BYOK, arbitrary OpenAI-compatible endpoints, local model support, and ACP. Here's the latest update: #9619 (comment)
petradonka commentedon May 22, 2026
Thanks for raising this. Warp now supports custom inference endpoints compatible with the OpenAI Chat Completions API.
This covers the core request to configure an OpenAI-compatible base URL for local interactive sessions in Warp. You can set this up under Settings → AI.
Docs: https://docs.warp.dev/agent-platform/inference/custom-inference-endpoint/
Closing this as completed now that custom endpoint support is available for local interactive usage. If you hit a case where BYOK or custom inference endpoints don’t apply, please open a new focused issue with the workflow, endpoint, model, and error details.