Skip to content
Python

Merge remote-tracking branch 'origin/main' into feat/azure-openai-card

Rohit C Prasad5ff7db17528c
diff --cc README.md
index c29a8a47,63733613..a2628d1c
--- a/README.md
+++ b/README.md
@@@ -87,12 -87,11 +87,13 @@@ Unattended runs never self-approve: the
Model access is yours: pick a provider, paste your key, switch anytime. Supported out of the box:
- **OpenAI · Azure OpenAI · Anthropic · Google Gemini · BytePlus Ark · Volcengine Ark Agent Plan · Atlas Cloud · Inkling (Thinking Machines) · GLM (Z.ai) · DeepSeek · Kimi (Moonshot) · Qwen · MiniMax · Mistral · Grok (xAI) · Solar (Upstage)** - plus aggregators **OrcaRouter** and **OpenRouter**, open-weight models via **Together** and **Fireworks**, and fully local models via **Ollama**.
-**OpenAI · Anthropic · Google Gemini · BytePlus Ark · Volcengine Ark Agent Plan · Atlas Cloud · Inkling (Thinking Machines) · GLM (Z.ai) · DeepSeek · Kimi (Moonshot) · Qwen · MiniMax · Mistral · Grok (xAI) · Solar (Upstage) · Cohere** - plus aggregators **OrcaRouter**, **OpenRouter** and **Hugging Face Inference Providers**, open-weight models via **Together**, **Fireworks**, **Cerebras** and **SiliconFlow**, and fully local models via **Ollama**, llama.cpp, vLLM, LM Studio, Jan, Docker Model Runner or mlx-lm.
++**OpenAI · Azure OpenAI · Anthropic · Google Gemini · BytePlus Ark · Volcengine Ark Agent Plan · Atlas Cloud · Inkling (Thinking Machines) · GLM (Z.ai) · DeepSeek · Kimi (Moonshot) · Qwen · MiniMax · Mistral · Grok (xAI) · Solar (Upstage) · Cohere** - plus aggregators **OrcaRouter**, **OpenRouter** and **Hugging Face Inference Providers**, open-weight models via **Together**, **Fireworks**, **Cerebras** and **SiliconFlow**, and fully local models via **Ollama**, llama.cpp, vLLM, LM Studio, Jan, Docker Model Runner or mlx-lm.
A curated model list marks what we've verified for tool-calling work. Adding any model string works at your own risk.
+Azure OpenAI uses your own resource: paste its endpoint and key (or set `AZURE_OPENAI_API_KEY`), then add your deployment names as models — on Azure the model id is the deployment name.
+
+ Another OpenAI-compatible server — a gateway, a proxy, a vendor not listed? In **Settings ▸ Models & Keys**, the **Add an OpenAI-compatible provider** box at the end of the API-keys group takes a name, its endpoint and key; it becomes its own card, and its models are selected as `<prefix>:<model-id>` (the prefix is derived from the name). Type the model ids, or fetch them from the server when it lists them.
## Privacy
diff --cc surfaces/gui/src/components/ManageTabs.tsx
index a666875b,898c04a5..df61fd4a
--- a/surfaces/gui/src/components/ManageTabs.tsx
+++ b/surfaces/gui/src/components/ManageTabs.tsx
@@@ -195,19 -245,20 +245,26 @@@ export function ModelsTab()
<div className="mt-6">
<div className={SEC_H + " mb-1.5"}>{t("manage.models")}</div>
<p className="text-meta text-muted mb-2.5 leading-relaxed">
- {t("manage.models_help")}
+ {t(info?.is_custom ? "manage.custom_models_help" : "manage.models_help")}
</p>
+ {ps.sel === "azure" && (
+ // No catalogue on Azure: the id to add is the deployment's name.
+ <p className="text-meta text-muted mb-2.5 leading-relaxed" data-testid="set-azure-deployment-note">
+ {t("manage.azure_deployment_help")}
+ </p>
+ )}
+ {info?.is_custom && (
+ <div className="flex items-center gap-3 mb-2.5" data-testid="custom-fetch-row">
+ <button className={BTN_BORDERED} data-testid="custom-fetch-models" disabled={fetching} onClick={() => void fetchModels()}>
+ {fetching ? t("manage.custom_fetching") : t("manage.custom_fetch_models")}
+ </button>
+ {fetchNote && <span className="text-meta text-muted" data-testid="custom-fetch-note">{fetchNote}</span>}
+ </div>
+ )}
<ModelChecklist
-
provider={ps.sel}
knownProviders={knownNames}
- suggested={info?.suggested_models || []}
+ suggested={[...(info?.suggested_models || []), ...fetched].filter((m, i, a) => a.indexOf(m) === i)}
curated={settings.models}
defaultModel={settings.model}
labels={settings.model_labels}