Skip to content

@tanstack/ai-codex@0.6.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 17:47
· 131 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 the model's effort for the level as model_reasoning_effort.
    • The modelReasoningEffort adapter config stays. It is the default for a call without reasoning.
    • The reasoning data is in model-meta.ts, keyed by model id. CodexModelReasoningByName and CODEX_MODEL_REASONING come from it.

    Breaking: modelReasoningEffort is no longer in modelOptions.

    // Before
    chat({
      adapter: codexText('gpt-5.1-codex'),
      messages,
      modelOptions: { modelReasoningEffort: 'high' },
    })
    
    // After
    chat({ adapter: codexText('gpt-5.1-codex'), messages, reasoning: 'high' })

Patch Changes