Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): agents no longer start threads in plan mode #27829

Openjuliusmarmingewants to merge 9 commits intomain fromrefs/pull/27829/headopened View on GitHub

Showing 12 changed files with 6 additions and 25 deletions (loading 9).

x
0 of 12 viewed, 12 left
3 additions and 3 deletionsapps/server/src/mcp/toolkits/project/tools.tsModified
View file
@@ -9,13 +9,13 @@
OrchestrationV2RunStatus,
OrchestrationV2ThreadLaunchWorkspaceStrategy,
RuntimeMode,
- ProviderInteractionMode,
Project,
ProjectCreatePayload,
ProjectUpdatePayload,
ProjectId,
OrchestratorMcpClientRequestId,
OrchestratorMcpEnvironmentTarget,
+ OrchestratorMcpInteractionMode,
OrchestratorMcpFailure,
SourceControlCloneRepositoryInput,
SourceControlCloneRepositoryResult,
@@ -124,7 +124,7 @@
const ThreadLaunchTool = Tool.make("t3_thread_launch", {
...shared,
description:
- "Create one new top-level thread, bound to its workspace before the agent starts. Task in `message`. Omit `projectId`, model and modes to inherit yours (outside a thread, pass `projectId` or `scratch`); modes cannot exceed yours. After an error or lost reply, retry with the same `clientRequestId`. Follow it with `t3_thread_read` or `t3_thread_wait`. Mention it with its `link`.",
+ "Create one new top-level thread, bound to its workspace before the agent starts. Task in `message`. Omit `projectId`, model and `runtimeMode` to inherit yours (outside a thread, pass `projectId` or `scratch`); `runtimeMode` cannot exceed yours. After an error or lost reply, retry with the same `clientRequestId`. Follow it with `t3_thread_read` or `t3_thread_wait`. Mention it with its `link`.",
parameters: Schema.Struct({
environmentId: OrchestratorMcpEnvironmentTarget,
projectId: Schema.optional(ProjectId),
@@ -137,7 +137,7 @@
title: TrimmedNonEmptyString,
modelSelection: Schema.optional(ModelSelection),
runtimeMode: Schema.optional(RuntimeMode),