mirror of
https://github.com/yusufipk/dikte.git
synced 2026-09-11 10:56:10 +00:00
Offer only models the OpenCode Go catalog actually lists
ox-alpha-free is not in the /models answer, and the comment claimed the chat endpoint hides Grok, Luna, MiniMax and Qwen when its own catalog lists them. The built-in list is a starting set; the Fetch button asks the endpoint for the full catalog of the day.
This commit is contained in:
@@ -94,13 +94,12 @@ ASSISTANT_OR_MODELS = [
|
|||||||
"google/gemini-3.5-flash", "anthropic/claude-sonnet-5", "openai/gpt-5.4",
|
"google/gemini-3.5-flash", "anthropic/claude-sonnet-5", "openai/gpt-5.4",
|
||||||
"x-ai/grok-4.5", "google/gemini-3.1-pro-preview",
|
"x-ai/grok-4.5", "google/gemini-3.1-pro-preview",
|
||||||
]
|
]
|
||||||
# The models OpenCode Go serves over /chat/completions. The ones its catalog
|
# A starting set of the models OpenCode Go serves over /chat/completions; the
|
||||||
# lists under /responses or /messages (Grok, GPT-5.6 Luna, MiniMax, Qwen) are
|
# Fetch button asks the endpoint itself for the full catalog of the day.
|
||||||
# not offered here, because Dikte speaks only the chat endpoint.
|
|
||||||
OPENCODE_MODELS = [
|
OPENCODE_MODELS = [
|
||||||
"deepseek-v4-flash", "deepseek-v4-pro", "glm-5.3", "glm-5.2", "glm-5.1",
|
"deepseek-v4-flash", "deepseek-v4-pro", "glm-5.3", "glm-5.2", "glm-5.1",
|
||||||
"kimi-k3", "kimi-k2.7-code", "kimi-k2.6", "longcat-2.0",
|
"kimi-k3", "kimi-k2.7-code", "kimi-k2.6", "longcat-2.0",
|
||||||
"mimo-v2.5", "mimo-v2.5-pro", "hy3", "ox-alpha-free",
|
"mimo-v2.5", "mimo-v2.5-pro", "hy3",
|
||||||
]
|
]
|
||||||
# What Claude Code may do without being able to ask. It cannot ask: there is no
|
# What Claude Code may do without being able to ask. It cannot ask: there is no
|
||||||
# window to answer in, so a mode that would have prompted denies instead.
|
# window to answer in, so a mode that would have prompted denies instead.
|
||||||
|
|||||||
Reference in New Issue
Block a user