Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): agent-launched threads on the default model get the default's effort #48196

Openjuliusmarmingewants to merge 2 commits intomain fromrefs/pull/48196/headopened View on GitHub

Showing 2 changed files with 116 additions and 16 deletions.

x
0 of 2 viewed, 2 left
81 additions and 0 deletionsapps/server/src/mcp/toolkits/project/handlers.test.tsModified
View file
@@ -626,6 +626,87 @@
}),
​
+it.effect("an agent's launch on the default model without options gets the default's effort", () =>
+ Effect.gen(function* () {
+ const launched: Array<ThreadLaunch.ThreadLaunchInput> = [];
+ const claude = ProviderInstanceId.make("claudeAgent");
+ const providers: ServerProvider[] = [
+ {
+ instanceId: claude,
+ driver: ProviderDriverKind.make("claudeAgent"),
+ enabled: true,
+ installed: true,
+ status: "ready",
+ version: null,
+ auth: { status: "authenticated" },
+ checkedAt: "2026-01-01T00:00:00Z",
+ models: [
+ {
+ slug: "claude-opus-5-5",
+ name: "Claude Opus 5.5",
+ isCustom: false,
+ capabilities: {
+ optionDescriptors: [
+ {
+ id: "effort",
+ role: "reasoning",
+ label: "Effort",
+ type: "select",