Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(mcp): agents can pick a scheduled task's model, effort and Fast tier #30808

ClosedMezzle(GitHub profile, opens in a new tab)wants to merge 17 commits intomain fromrefs/pull/30808/headopened View on GitHub

Showing 6 changed files with 11 additions and 1 deletion (loading 5).

x
0 of 6 viewed, 6 left
11 additions and 1 deletionapps/server/src/mcp/toolkits/orchestrator/handlers.tsModified
View file
@@ -106,7 +106,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;
@@ -119,6 +128,7 @@
enabled,
freshSession,
bindToCurrentThread,
+ target,
});
}),
apps/server/src/mcp/OrchestratorMcpService.test.tsModified
View file