An AI SDK decision model instance, e.g. openai.decisionModel("gpt-6-luna")
or TypeSafe's Jev. Unlike a LanguageModel, a decision model only
answers typed questions (here, which label applies) and cannot generate
free-form text, so classifications made with it have no explanation.
Gateway string IDs are excluded: a plain string is treated as a language
model. Wrap the ID with the provider's decisionModel() instead.
An AI SDK decision model instance, e.g.
openai.decisionModel("gpt-6-luna")or TypeSafe's Jev. Unlike a LanguageModel, a decision model only answers typed questions (here, which label applies) and cannot generate free-form text, so classifications made with it have no explanation.Gateway string IDs are excluded: a plain string is treated as a language model. Wrap the ID with the provider's
decisionModel()instead.