From 849bac97ef168ece77636a99609eee171932fdf3 Mon Sep 17 00:00:00 2001 From: slit Date: Sat, 11 Apr 2026 06:49:10 +0800 Subject: [PATCH] fix: update Qwen model names in fish tests to match functions --- spec/fish/_coxel_function_test.fish | 4 ++-- spec/fish/_coxelh_function_test.fish | 2 +- spec/fish/_ocxel_function_test.fish | 4 ++-- spec/fish/_ocxelh_function_test.fish | 2 +- spec/fish/_pixel_function_test.fish | 4 ++-- spec/fish/_pixelh_function_test.fish | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/spec/fish/_coxel_function_test.fish b/spec/fish/_coxel_function_test.fish index 264425950..868c8160d 100644 --- a/spec/fish/_coxel_function_test.fish +++ b/spec/fish/_coxel_function_test.fish @@ -7,7 +7,7 @@ function codex; echo $argv >> $log1; end _coxel_function -@test "no args uses substituted Qwen model" (grep -c "qwen/qwen3.5-9b" $log1) -ge 1 +@test "no args uses substituted Qwen model" (grep -c "qwen3.5-0.8b-optiq" $log1) -ge 1 @test "no args enables oss mode" (grep -c -- "--oss" $log1) -ge 1 @test "no args uses lmstudio local provider" (grep -c -- "local-provider lmstudio" $log1) -ge 1 @test "no args lowers reasoning effort" (grep -c "model_reasoning_effort=minimal" $log1) -ge 1 @@ -20,7 +20,7 @@ _coxel_function hello world @test "with args uses exec subcommand" (grep -c "^exec " $log2) -ge 1 @test "with args builds prompt" (grep -c "hello world" $log2) -ge 1 -@test "with args uses substituted Qwen model" (grep -c "qwen/qwen3.5-9b" $log2) -ge 1 +@test "with args uses substituted Qwen model" (grep -c "qwen3.5-0.8b-optiq" $log2) -ge 1 @test "with args enables oss mode" (grep -c -- "--oss" $log2) -ge 1 @test "with args uses lmstudio local provider" (grep -c -- "local-provider lmstudio" $log2) -ge 1 @test "with args lowers reasoning effort" (grep -c "model_reasoning_effort=minimal" $log2) -ge 1 diff --git a/spec/fish/_coxelh_function_test.fish b/spec/fish/_coxelh_function_test.fish index 070d62965..af4e4dd92 100644 --- a/spec/fish/_coxelh_function_test.fish +++ b/spec/fish/_coxelh_function_test.fish @@ -10,7 +10,7 @@ function codex; echo $argv >> $log1; end echo "hello world" | _coxelh_function @test "non-empty prompt uses exec subcommand" (grep -c "^exec " $log1) -ge 1 -@test "non-empty prompt uses substituted Qwen model" (grep -c "qwen/qwen3.5-9b" $log1) -ge 1 +@test "non-empty prompt uses substituted Qwen model" (grep -c "qwen3.5-0.8b-optiq" $log1) -ge 1 @test "non-empty prompt enables oss mode" (grep -c -- "--oss" $log1) -ge 1 @test "non-empty prompt uses lmstudio local provider" (grep -c -- "local-provider lmstudio" $log1) -ge 1 @test "non-empty prompt lowers reasoning effort" (grep -c "model_reasoning_effort=minimal" $log1) -ge 1 diff --git a/spec/fish/_ocxel_function_test.fish b/spec/fish/_ocxel_function_test.fish index 3a4bf28d9..98f384e29 100644 --- a/spec/fish/_ocxel_function_test.fish +++ b/spec/fish/_ocxel_function_test.fish @@ -7,7 +7,7 @@ function opencode; echo $argv >> $log1; end _ocxel_function -@test "no args calls opencode with local Qwen model" (grep -c "lmstudio/qwen/qwen3.5-9b" $log1) -ge 1 +@test "no args calls opencode with local Qwen model" (grep -c "lmstudio/qwen3.5-0.8b-optiq" $log1) -ge 1 @test "no args skips run subcommand" (grep -c "^run " $log1) -eq 0 # ── with args: run mode ────────────────────────────────── @@ -18,6 +18,6 @@ _ocxel_function hello world @test "with args uses run subcommand" (grep -c "^run " $log2) -ge 1 @test "with args builds prompt" (grep -c "hello world" $log2) -ge 1 -@test "with args uses local Qwen model" (grep -c "lmstudio/qwen/qwen3.5-9b" $log2) -ge 1 +@test "with args uses local Qwen model" (grep -c "lmstudio/qwen3.5-0.8b-optiq" $log2) -ge 1 rm -f $log1 $log2 diff --git a/spec/fish/_ocxelh_function_test.fish b/spec/fish/_ocxelh_function_test.fish index 30d79a275..1102a12ef 100644 --- a/spec/fish/_ocxelh_function_test.fish +++ b/spec/fish/_ocxelh_function_test.fish @@ -11,7 +11,7 @@ echo "hello world" | _ocxelh_function @test "non-empty prompt uses run subcommand" (grep -c "^run " $log1) -ge 1 @test "non-empty prompt builds prompt" (grep -c "hello world" $log1) -ge 1 -@test "non-empty prompt uses local Qwen model" (grep -c "lmstudio/qwen/qwen3.5-9b" $log1) -ge 1 +@test "non-empty prompt uses local Qwen model" (grep -c "lmstudio/qwen3.5-0.8b-optiq" $log1) -ge 1 set log2 (mktemp) function opencode; echo $argv >> $log2; end diff --git a/spec/fish/_pixel_function_test.fish b/spec/fish/_pixel_function_test.fish index 8f08ba75e..25aa00ed5 100644 --- a/spec/fish/_pixel_function_test.fish +++ b/spec/fish/_pixel_function_test.fish @@ -7,7 +7,7 @@ function pi; echo $argv >> $log1; end _pixel_function -@test "no args calls pi with local Qwen model" (grep -c "lmstudio/qwen/qwen3.5-9b" $log1) -ge 1 +@test "no args calls pi with local Qwen model" (grep -c "lmstudio/qwen3.5-0.8b-optiq" $log1) -ge 1 # ── with args: builds prompt ────────────────────────────── set log2 (mktemp) @@ -16,6 +16,6 @@ function pi; echo $argv >> $log2; end _pixel_function hello world @test "with args builds prompt" (grep -c "hello world" $log2) -ge 1 -@test "with args uses local Qwen model" (grep -c "lmstudio/qwen/qwen3.5-9b" $log2) -ge 1 +@test "with args uses local Qwen model" (grep -c "lmstudio/qwen3.5-0.8b-optiq" $log2) -ge 1 rm -f $log1 $log2 diff --git a/spec/fish/_pixelh_function_test.fish b/spec/fish/_pixelh_function_test.fish index e094a60b0..b26488567 100644 --- a/spec/fish/_pixelh_function_test.fish +++ b/spec/fish/_pixelh_function_test.fish @@ -10,7 +10,7 @@ function pi; echo $argv >> $log1; end echo "hello world" | _pixelh_function @test "non-empty prompt builds prompt" (grep -c "hello world" $log1) -ge 1 -@test "non-empty prompt uses local Qwen model" (grep -c "lmstudio/qwen/qwen3.5-9b" $log1) -ge 1 +@test "non-empty prompt uses local Qwen model" (grep -c "lmstudio/qwen3.5-0.8b-optiq" $log1) -ge 1 @test "non-empty prompt uses print mode" (grep -c -- "-p" $log1) -ge 1 set log2 (mktemp)