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:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user