You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: allow set reasoningEffort in AIAgentArgs (#3241)
## Description
This PR adds an optional `reasoningEffort` setting to AI Agent arguments
so GPT-5 model calls can control reasoning effort per agent
configuration.
## Context
GPT-5 requests previously used a fixed reasoning effort. Exposing this
setting lets consumers tune inference behavior while keeping a default
value when no explicit effort is provided.
## Approach taken / Explain the design
- Added a shared `ReasoningEffort` enum to `@botonic/core` and exposed
it through `AiAgentBaseArgs`.
- Propagated `reasoningEffort` from the AI Agents plugin into
`LLMConfig` for both specialist and router agents.
- Updated GPT-5 model settings to use the provided effort, defaulting to
`medium`; non-GPT-5 fallback settings continue using `none`.
- Bumped `@botonic/plugin-core` to `0.51.1` and
`@botonic/plugin-ai-agents` to `0.51.1`.
## Testing
The pull request has unit test coverage for the default GPT-5 reasoning
effort in `LLMConfig`.
0 commit comments