-
Notifications
You must be signed in to change notification settings - Fork 0
fix: update Qwen model names in fish tests to match functions #1424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P3: Use literal matching for the model-name assertion. With regex
grep, dots inqwen3.5-0.8b-optiqare wildcards, so the test can pass without an exact model string match.Prompt for AI agents