chore(agents): update fallback models
Amolith
created 1 month ago
Update fallback models from GLM-4.6 to GLM-4.7 and
DeepSeek-V3.1-Terminus to MiniMax-M2 across all agent definitions
(aider, claude, llxprt, qwen) in both fish and zsh implementations.
Assisted-by: GLM 4.7 via Crush
Change summary
fish/functions/_synu_agents/aider.fish | 4 ++--
fish/functions/_synu_agents/claude.fish | 6 +++---
fish/functions/_synu_agents/llxprt.fish | 2 +-
fish/functions/_synu_agents/qwen.fish | 2 +-
zsh/functions/_synu_agents/aider.zsh | 4 ++--
zsh/functions/_synu_agents/claude.zsh | 6 +++---
zsh/functions/_synu_agents/llxprt.zsh | 2 +-
zsh/functions/_synu_agents/qwen.zsh | 2 +-
8 files changed, 14 insertions(+), 14 deletions(-)
Detailed changes
@@ -10,8 +10,8 @@
source (status dirname)/../_synu_cache.fish
# Fallback defaults (used when no cache entry exists)
-set -g _synu_aider_fallback_model "hf:zai-org/GLM-4.6"
-set -g _synu_aider_fallback_editor_model "hf:deepseek-ai/DeepSeek-V3.1-Terminus"
+set -g _synu_aider_fallback_model "hf:zai-org/GLM-4.7"
+set -g _synu_aider_fallback_editor_model "hf:deepseek-ai/MiniMax-M2"
function _synu_aider_default --description "Get default model: _synu_aider_default slot"
set -l slot $argv[1]
@@ -10,9 +10,9 @@ source (status dirname)/../_synu_cache.fish
# Fallback defaults (used when no cache entry exists)
set -g _synu_claude_fallback_opus "hf:moonshotai/Kimi-K2-Thinking"
-set -g _synu_claude_fallback_sonnet "hf:zai-org/GLM-4.6"
-set -g _synu_claude_fallback_haiku "hf:deepseek-ai/DeepSeek-V3.1-Terminus"
-set -g _synu_claude_fallback_agent "hf:zai-org/GLM-4.6"
+set -g _synu_claude_fallback_sonnet "hf:zai-org/GLM-4.7"
+set -g _synu_claude_fallback_haiku "hf:deepseek-ai/MiniMax-M2"
+set -g _synu_claude_fallback_agent "hf:zai-org/GLM-4.7"
function _synu_claude_default --description "Get default model: _synu_claude_default slot"
set -l slot $argv[1]
@@ -10,7 +10,7 @@
source (status dirname)/../_synu_cache.fish
# Fallback default (used when no cache entry exists)
-set -g _synu_llxprt_fallback_model "hf:zai-org/GLM-4.6"
+set -g _synu_llxprt_fallback_model "hf:zai-org/GLM-4.7"
function _synu_llxprt_default --description "Get default model"
set -l cached (_synu_cache_get llxprt model)
@@ -10,7 +10,7 @@
source (status dirname)/../_synu_cache.fish
# Fallback default (used when no cache entry exists)
-set -g _synu_qwen_fallback_model "hf:zai-org/GLM-4.6"
+set -g _synu_qwen_fallback_model "hf:zai-org/GLM-4.7"
function _synu_qwen_default --description "Get default model"
set -l cached (_synu_cache_get qwen model)
@@ -7,8 +7,8 @@
# Aider accepts model via CLI flags and API config via environment variables
# Fallback defaults (used when no cache entry exists)
-typeset -g _SYNU_AIDER_FALLBACK_MODEL="hf:zai-org/GLM-4.6"
-typeset -g _SYNU_AIDER_FALLBACK_EDITOR_MODEL="hf:deepseek-ai/DeepSeek-V3.1-Terminus"
+typeset -g _SYNU_AIDER_FALLBACK_MODEL="hf:zai-org/GLM-4.7"
+typeset -g _SYNU_AIDER_FALLBACK_EDITOR_MODEL="hf:deepseek-ai/MiniMax-M2"
_synu_aider_default() {
local slot=$1
@@ -7,9 +7,9 @@
# Fallback defaults (used when no cache entry exists)
typeset -g _SYNU_CLAUDE_FALLBACK_OPUS="hf:moonshotai/Kimi-K2-Thinking"
-typeset -g _SYNU_CLAUDE_FALLBACK_SONNET="hf:zai-org/GLM-4.6"
-typeset -g _SYNU_CLAUDE_FALLBACK_HAIKU="hf:deepseek-ai/DeepSeek-V3.1-Terminus"
-typeset -g _SYNU_CLAUDE_FALLBACK_AGENT="hf:zai-org/GLM-4.6"
+typeset -g _SYNU_CLAUDE_FALLBACK_SONNET="hf:zai-org/GLM-4.7"
+typeset -g _SYNU_CLAUDE_FALLBACK_HAIKU="hf:deepseek-ai/MiniMax-M2"
+typeset -g _SYNU_CLAUDE_FALLBACK_AGENT="hf:zai-org/GLM-4.7"
_synu_claude_default() {
local slot=$1
@@ -7,7 +7,7 @@
# llxprt only accepts configuration via CLI flags
# Fallback default (used when no cache entry exists)
-typeset -g _SYNU_LLXPRT_FALLBACK_MODEL="hf:zai-org/GLM-4.6"
+typeset -g _SYNU_LLXPRT_FALLBACK_MODEL="hf:zai-org/GLM-4.7"
_synu_llxprt_default() {
local cached
@@ -7,7 +7,7 @@
# Qwen Code only accepts configuration via environment variables
# Fallback default (used when no cache entry exists)
-typeset -g _SYNU_QWEN_FALLBACK_MODEL="hf:zai-org/GLM-4.6"
+typeset -g _SYNU_QWEN_FALLBACK_MODEL="hf:zai-org/GLM-4.7"
_synu_qwen_default() {
local cached