Invoke the model with the given input string.
The string input to the model.
OptionaloutputType: Record<string, unknown>
Optional JSON schema for structured output. When provided,
the model should return structured data accessible via RunnerResult.parsed.
Promise resolving to a RunnerResult.
Runner protocol for AI model providers.
A single Runner interface covers completion, agent, and judge use cases. For structured output (e.g., judge evaluation), pass an
outputTypeschema and access the parsed result viaRunnerResult.parsed.