fix(misc): remove duplicate docs page, update clopus 4.7#4200
fix(misc): remove duplicate docs page, update clopus 4.7#4200waleedlatif1 merged 4 commits intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Updates Anthropic request construction to only send Reviewed by Cursor Bugbot for commit 7ab2e69. Configure here. |
Greptile SummaryThis PR does two things: removes a duplicate
Confidence Score: 4/5Safe to merge after confirming 'xhigh' is a valid Anthropic API effort value for Opus 4.7. All changes are straightforward — docs deduplication is clean and the model wiring through supportsAdaptiveThinking is correct. The only open question is whether 'xhigh' is a valid Anthropic API value for output_config.effort; if it is not, users selecting that thinking level will hit a hard API error in production. apps/sim/providers/models.ts — verify the 'xhigh' thinking level is a recognized Anthropic API effort value. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Request with thinkingLevel] --> B{buildThinkingConfig}
B --> C{supportsAdaptiveThinking?}
C -- "opus-4-7 ✓" --> D["thinking: { type: 'adaptive' }\noutputConfig: { effort: thinkingLevel }"]
C -- "No (e.g. opus-4-5)" --> E["thinking: { type: 'enabled', budget_tokens: N }"]
D --> F["Anthropic API: output_config.effort = 'low'|'medium'|'high'|'xhigh'|'max'"]
E --> G["Anthropic API: budget_tokens = 2048/8192/32768"]
F --> H{xhigh valid API value?}
H -- Yes --> I[Success]
H -- No --> J[API Error returned to user]
Reviews (1): Last reviewed commit: "fix(misc): remove duplicate docs page, u..." | Re-trigger Greptile |
- Remove duplicate custom-tools page (custom-tools/index.mdx → tools/custom-tools.mdx is canonical) - Remove comparison table from custom-tools per product preference - Fix permissions inconsistency: delete now requires Admin across all docs - Consolidate sdks/ into api-reference/ (sdks/ directory deleted) - Fix Python SDK docs: correct param is `input`, not `input_data` - Fix TypeScript SDK docs: correct signature is executeWorkflow(id, input, options) not options-object form - Add FAQ sections to both SDK reference pages
|
Re: Greptile review — |
|
Re: Cursor review — The medium-risk assessment is correct. Both the temperature guard ( |
Summary