refactor: Provider settings panel improve

This commit is contained in:
Petr Mironychev
2026-06-29 10:42:33 +02:00
parent 70c6d30a72
commit 86c537477d
16 changed files with 49 additions and 22 deletions

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "Claude"
client_api = "Claude"
description = "Anthropic's hosted Claude API."
description = "Cloud (Anthropic). Claude Opus/Sonnet/Haiku via the Messages API."
url = "https://api.anthropic.com"
api_key_ref = "qodeassist/providers/Claude"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "Codestral"
client_api = "Codestral"
description = "Mistral's Codestral FIM-capable code model API."
description = "Cloud (Mistral). Codestral — a code model with native fill-in-the-middle, great for completion."
url = "https://codestral.mistral.ai"
api_key_ref = "qodeassist/providers/Codestral"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "Google AI"
client_api = "Google AI"
description = "Google AI Studio (Gemini) hosted API."
description = "Cloud (Google). Gemini models via Google AI Studio."
url = "https://generativelanguage.googleapis.com/v1beta"
api_key_ref = "qodeassist/providers/Google AI"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "llama.cpp"
client_api = "llama.cpp"
description = "Local llama.cpp server (llama-server)."
description = "Local (llama.cpp). Your own llama-server running GGUF models. Point the URL at your server (default :8080)."
url = "http://localhost:8080"
api_key_ref = "qodeassist/providers/llama.cpp"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "LM Studio (Chat Completions)"
client_api = "LM Studio (Chat Completions)"
description = "Local LM Studio server over the /v1/chat/completions endpoint."
description = "Local (LM Studio). The OpenAI Chat Completions API — the right pick for most LM Studio models."
url = "http://localhost:1234"
api_key_ref = "qodeassist/providers/LM Studio (Chat Completions)"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "LM Studio (Responses API)"
client_api = "LM Studio (Responses API)"
description = "Local LM Studio server over the /v1/responses endpoint."
description = "Local (LM Studio). The newer Responses API — use only if your model needs it, otherwise pick LM Studio (Chat Completions)."
url = "http://localhost:1234"
api_key_ref = "qodeassist/providers/LM Studio (Responses API)"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "Mistral AI"
client_api = "Mistral AI"
description = "Mistral's hosted chat / completions API."
description = "Cloud (Mistral). Mistral chat/instruct models, incl. the Magistral reasoning model. For Mistral's FIM code model, use Codestral."
url = "https://api.mistral.ai"
api_key_ref = "qodeassist/providers/Mistral AI"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "Ollama (OpenAI-compatible)"
client_api = "Ollama (OpenAI-compatible)"
description = "Local Ollama daemon spoken to via the OpenAI-compatible /v1 routes."
description = "Local (Ollama). The OpenAI-compatible /v1 routes — for OpenAI-style agents. For everyday use prefer Ollama (Native)."
url = "http://localhost:11434"
api_key_ref = "qodeassist/providers/Ollama (OpenAI-compatible)"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "Ollama (Native)"
client_api = "Ollama (Native)"
description = "Default local Ollama daemon over its native /api/* endpoints."
description = "Local (Ollama). The default — native /api endpoints with the best support for FIM, thinking and tools. Use this for the bundled Ollama agents."
url = "http://localhost:11434"
api_key_ref = "qodeassist/providers/Ollama (Native)"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "OpenAI (Chat Completions)"
client_api = "OpenAI (Chat Completions)"
description = "OpenAI's hosted /v1/chat/completions endpoint."
description = "Cloud (OpenAI). GPT models via the standard Chat Completions API. The default OpenAI choice."
url = "https://api.openai.com/v1"
api_key_ref = "qodeassist/providers/OpenAI (Chat Completions)"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "OpenAI Compatible"
client_api = "OpenAI Compatible"
description = "Self-hosted OpenAI-compatible server (vLLM, TGI, ...). Edit the URL to match your deployment."
description = "Self-hosted, OpenAI-compatible server (vLLM, TGI, LiteLLM, …). Point the URL at your deployment."
url = "http://localhost:1234/v1"
api_key_ref = "qodeassist/providers/OpenAI Compatible"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "OpenAI (Responses API)"
client_api = "OpenAI (Responses API)"
description = "OpenAI's hosted /v1/responses endpoint."
description = "Cloud (OpenAI). GPT models via the newer Responses API (needed for some o-series reasoning models). If unsure, use OpenAI (Chat Completions)."
url = "https://api.openai.com/v1"
api_key_ref = "qodeassist/providers/OpenAI (Responses API)"

View File

@@ -2,7 +2,7 @@ schema_version = 1
name = "OpenRouter"
client_api = "OpenRouter"
description = "OpenRouter aggregator (https://openrouter.ai)."
description = "Cloud aggregator (openrouter.ai) — a single gateway to models from many providers (Anthropic, OpenAI, Google, Meta, …)."
url = "https://openrouter.ai/api"
api_key_ref = "qodeassist/providers/OpenRouter"