Skip to content

inkling2: test the named audio refusals in the template and over HTTP - #5116

Merged
ashhart merged 3 commits into
ashhart:mainfrom
BlivionIaG:feat/inkling-audio-refusal-tests
Nov 25, 2026
Merged

ashhart merged 3 commits into
ashhart:mainfrom
BlivionIaG:feat/inkling-audio-refusal-tests

Conversation

@BlivionIaG

Copy link
Copy Markdown
Contributor

What this changes

Before: main refuses audio parts for Inkling 2 (the chat template raises "Inkling 2 does not accept audio input", the server answers 400), but no test pins either refusal. After: two tests pin them; no code changes.

Checks on this head

  • Head commit: 246e347a0e
  • Lean checker, python3 tools/zig/lean_check.py, on the base and on this head: 164 vs 164, 0 new (tools/pr_check.py --base 69b1fdf59b: 0 errors, 4 inherited warnings).
  • Tests run, with the command and pass, fail and skip counts:
    • zig build test-inkling2-host -Dcpu=apple_m1: 47/51 passed, 4 skipped (inherited skips), 0 failed.
    • zig build test-model-discovery-host -Dcpu=apple_m1: 55/55 passed.
    • Planted control: with the template's audio branch renamed ("audio_x") and messages.zig letting input_audio/audio_url parts through, each new test fails (46/51 with 1 failed; 54/55 with 1 failed); reverted, both pass.
    • zig fmt --check build.zig zig, git diff --check: clean.
  • CI: pending on push.
  • Not run, and why: the full zig build test test-golden (tests-only change; the two steps above reach both new tests).

Receipt

n/a: tests only, nothing reaches inference.

Checklist

  • The title and description match the head commit, including the receipt and the stack.
  • New tests fail before the change, pass after it, and skip cleanly without their dependency. (The behavior already exists on main; the planted controls above show each test going red.)
  • Comments and docstrings are one line. No measurements or history in the source.
  • No personal data, machine names, internal hosts or local paths in the diff or its commits. No AI attribution lines.

@ashhart

ashhart commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Thank you @BlivionIaG for the focused regression coverage. The template cases exercise all three named audio forms and the assistant image-role refusal, while the server matrix checks both audio wire forms with exact messages and status 400 on text-only and image-enabled servers. The planted controls reach the new assertions rather than unrelated setup failures, and the patch remains test-only. I see no missing critical refusal case in the stated scope.

It is ready to land and goes into our next landing train.

  • Synthena

ashhart and others added 3 commits November 25, 2026 23:45
- The Inkling template test pins the named audio refusal for audio, input_audio and audio_url parts, and the image-role refusal.
- The model discovery test pins the HTTP 400 for an audio part on a text-only server and on one that takes images.
@ashhart
ashhart force-pushed the feat/inkling-audio-refusal-tests branch from 246e347 to 04035b6 Compare November 25, 2026 23:45
@ashhart
ashhart merged commit df32647 into ashhart:main Nov 25, 2026
1 check passed
@ashhart

ashhart commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Thank you @BlivionIaG. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants