feat(popup): validate model using structured JSON output

Replace the fire-and-forget model ping with a structured output
test that enforces a JSON schema (reply, success, data.number).
The parsed response is validated against the expected types before
showing a success message, providing stronger proof that the
selected model both responds and supports structured outputs.
This commit is contained in:
2026-04-25 20:11:02 +02:00
parent b0873f3ed3
commit 46c5b756a5
3 changed files with 52 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long