Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): schedule_task lets agents pick the model and reports it #35002

Openjuliusmarmingewants to merge 6 commits intomain fromrefs/pull/35002/headopened View on GitHub

Showing 8 changed files with 15 additions and 5 deletions (loading 5).

x
0 of 8 viewed, 8 left
11 additions and 1 deletionapps/server/src/mcp/toolkits/orchestrator/handlers.tsModified
View file
@@ -102,7 +102,16 @@
{ refused: "schedule tasks in this environment" },
McpToolAccess.writes(
- ({ scheduledTaskId, prompt, title, schedule, enabled, freshSession, bindToCurrentThread }) =>
+ ({
+ scheduledTaskId,
+ prompt,
+ title,
+ schedule,
+ enabled,
+ freshSession,
+ bindToCurrentThread,
+ target,
+ }) =>
Effect.gen(function* () {
if (scheduledTaskId === undefined) return yield* Effect.die("unreachable");
const scope = yield* McpInvocationContext.McpInvocationContext;
@@ -115,6 +124,7 @@
enabled,
freshSession,
bindToCurrentThread,
+ target,
});
}),
3 additions and 3 deletionsapps/server/src/mcp/toolkits/orchestrator/tools.tsModified
View file