Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1550edc40d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| .optional(zOpenAIReasoningEffort) | ||
| .describe( | ||
| "Optional reasoning effort for this edit. Use `low` for normal edits, `medium` for multi-section rewrites, and `high` for the most complex asks. Defaults to `low` if omitted.", | ||
| "Optional reasoning effort for this edit. Use `minimal` for normal edits, `low` for multi-section rewrites, and `medium` for complex tasks, or `high` for the most creative asks. Defaults to `minimal` if omitted.", |
There was a problem hiding this comment.
Align reasoningEffort default with runtime behavior
The schema description now says omitted reasoningEffort defaults to minimal, but the write tool still sends toolCall.input.reasoningEffort ?? "low" in useWriteTool (apps/web/src/ai/tools/write/client.ts), so callers that rely on the schema contract will actually run at a higher effort than documented. This mismatch was introduced in this commit and can skew latency/cost and tool-selection behavior from the model.
Useful? React with 👍 / 👎.
Uh oh!
There was an error while loading. Please reload this page.