Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): remote tasks report their actual model #37332

Mergedyazcaleb(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/37332/headmerged by juliusmarminge View on GitHub

Showing 5 changed files with 13 additions and 1 deletion (loading 2).

x
0 of 5 viewed, 5 left
1 addition and 1 deletionapps/server/src/mcp/OrchestratorMcpService.tsModified
View file
@@ -2023,7 +2023,7 @@
hasPendingChildRuns: false,
providerInstanceId: task.providerInstanceId,
model: task.model,
- executedModel: null,
+ executedModel: task.executedModel ?? null,
summary: task.result,
resultContextTransferId: null,
latestTerminalRunId: null,
1 addition and 0 deletionsapps/server/src/orchestration-v2/Orchestrator.tsModified
View file
@@ -10075,6 +10075,7 @@
remoteChild,
status: command.status,
result: command.result,
+ ...(command.executedModel === undefined ? {} : { executedModel: command.executedModel }),
completedAt: now,
updatedAt: now,
11 additions and 0 deletionsapps/server/src/peer/RemoteDelegation.test.tsModified
View file
@@ -1441,6 +1441,11 @@
expect(task?.result).toBe(
`Requested model gpt-5.4; the provider reported running gpt-5.4-mini.\n\n${long}`,
+ const status = yield* a.call("task_status", { taskId });