feat: claude effort controls, ultrathink UI, and adapter robustness #1146
MergedJustYannicc(GitHub profile, opens in a new tab)merged 9 commits into
codething/648ca884-claude fromrefs/pull/1146/headmerged by juliusmarminge View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelssize:XXL
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
JustYannicc(GitHub profile, opens in a new tab) closed this
JustYannicc(GitHub profile, opens in a new tab) reopened this
- apps/server/src/provider/Layers/ClaudeCodeAdapter.ts line 371OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -0,0 +311,21 @@311+ fragments.join("\n\n"),312+ input.modelOptions?.claudeCode?.effort ?? null,313+ );314+315+ return {316+ type: "user",317+ session_id: "",318+ parent_tool_use_id: null,319+ message: {320+ role: "user",321+ content: [{ type: "text", text }],322+ },323+ } as SDKUserMessage;324+}325+326+function turnStatusFromResult(result: SDKResultMessage): ProviderRuntimeTurnStatus {327+ if (result.subtype === "success") {328+ return "completed";329+ }330+331+ const errors = result.errors.join(" ").toLowerCase();
JustYannicc(GitHub profile, opens in a new tab) changed the title
juliusmarminge reviewed
@@ -146,4 +146,4 @@146146 export const ClaudeAI: Icon = (props) => (147147 <svg {...props} preserveAspectRatio="xMidYMid" viewBox="0 0 256 257">148148 <path149- fill="#D97757"149+ fill="currentColor"apps/web/src/components/chat/ProviderHealthBanner.tsx line 19OutdatedResolvedby JustYannicc(GitHub profile, opens in a new tab)@@ -12,3 +12,8 @@1212 return null;1313 }141415+ const providerLabel =16+ status.provider === "codex"17+ ? "Codex"18+ : status.provider === "claudeAgent"19+ ? "Claude Code"@@ -13,4 +13,3 @@1313 MenuTrigger,1414 } from "../ui/menu";151516-export const CodexTraitsPicker = memo(function CodexTraitsPicker(props: {@@ -439,3 +439,4 @@439439 const TaskProgressPayload = Schema.Struct({440440 taskId: RuntimeTaskId,441441 description: TrimmedNonEmptyStringSchema,442+ summary: Schema.optional(TrimmedNonEmptyStringSchema),juliusmarminge merged thise6254a8
juliusmarminge closed this
Sign in to join this conversation.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID:
47233b76-5c43-4f45-849f-ab43bdcef837You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share