Skip to content

Commit 94631ed

Browse files
committed
fix(server): name Claude's shared text-generation temp directory neutrally
Thread titles and service names both run Claude in this directory, so its prefix and error no longer say "title".
1 parent a5411f2 commit 94631ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/textGeneration/ClaudeTextGeneration.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,10 @@ export const makeClaudeTextGeneration = Effect.fn("makeClaudeTextGeneration")(fu
199199
const runClaudeCommand = Effect.fn("runClaudeJson.runClaudeCommand")(function* () {
200200
const workingDirectory = OUTSIDE_PROJECT_OPERATIONS.has(operation)
201201
? yield* fileSystem
202-
.makeTempDirectoryScoped({ prefix: "t3code-claude-title-" })
202+
.makeTempDirectoryScoped({ prefix: "t3code-claude-text-" })
203203
.pipe(
204204
Effect.mapError((cause) =>
205-
normalizeCliError("claude", operation, cause, "Failed to create title directory"),
205+
normalizeCliError("claude", operation, cause, "Failed to create temp directory"),
206206
),
207207
)
208208
: cwd;

0 commit comments

Comments
 (0)