Skip to content

Add xhigh output effort / verbosity for Opus 4.7#2526

Merged
chrarnoldus merged 3 commits into
mainfrom
christiaan/opus-4-7-verbosity
Apr 16, 2026
Merged

Add xhigh output effort / verbosity for Opus 4.7#2526
chrarnoldus merged 3 commits into
mainfrom
christiaan/opus-4-7-verbosity

Conversation

@chrarnoldus

Copy link
Copy Markdown
Contributor

low: { reasoning: { enabled: true, effort: 'low' }, verbosity: 'low' },
medium: { reasoning: { enabled: true, effort: 'medium' }, verbosity: 'medium' },
high: { reasoning: { enabled: true, effort: 'high' }, verbosity: 'high' },
xhigh: { reasoning: { enabled: true, effort: 'xhigh' }, verbosity: 'xhigh' },

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is not important, it is only used for grok-code-fast-1

effort: verbosity,
disableParallelToolUse: request.parallel_tool_calls === false || isLegacyExtension,
} satisfies AnthropicProviderOptions,
openai: {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Removing textVerbosity drops verbosity handling for Martian requests

grokCodeFastOptimizedRequest() routes Martian chat-completions traffic through this helper, and request.verbosity is no longer propagated anywhere in commonParams. After this change those requests still accept a verbosity field, but the downstream Responses call ignores it and falls back to the provider default, which looks like an unrelated regression.

@kilo-code-bot

kilo-code-bot Bot commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0

Fix these issues in Kilo Cloud

Issue Details (click to expand)

WARNING

File Line Issue
apps/web/src/lib/ai-gateway/custom-llm/customLlmRequest.ts 596 Removing textVerbosity drops verbosity forwarding for Martian chat-completions
Other Observations (not in diff)

None.

Files Reviewed (5 files)
  • apps/web/package.json - 0 issues
  • apps/web/src/lib/ai-gateway/custom-llm/customLlmRequest.ts - 1 warning
  • apps/web/src/lib/ai-gateway/providers/model-settings.ts - 0 issues
  • packages/db/src/schema-types.ts - 0 issues
  • pnpm-workspace.yaml - 0 issues

Reviewed by gpt-5.4-20260305 · 849,722 tokens

@chrarnoldus chrarnoldus merged commit 1353dc1 into main Apr 16, 2026
35 checks passed
@chrarnoldus chrarnoldus deleted the christiaan/opus-4-7-verbosity branch April 16, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants