Skip to content

@tanstack/ai-groq@0.9.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 17:48
· 282 commits to main since this release
Immutable release. Only release title and notes can be modified.
293aea9

Minor Changes

  • #1692 7532b2b - Set reasoning with chat({ reasoning }).

    • The adapter sends reasoning_effort. Qwen 3 turns thinking on or off: high sends default, and off sends none.
    • Each chat model has its reasoning data in model-meta.ts. GroqModelReasoningByName and GROQ_MODEL_REASONING come from it.
    • reasoning_format and include_reasoning stay in modelOptions. They pick the output format, not the effort.

    Breaking: reasoning_effort is no longer in modelOptions.

    // Before
    chat({
      adapter: groqText('openai/gpt-oss-120b'),
      messages,
      modelOptions: { reasoning_effort: 'medium' },
    })
    
    // After
    chat({
      adapter: groqText('openai/gpt-oss-120b'),
      messages,
      reasoning: 'medium',
    })

Patch Changes