Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): tell agents to write image revisions to new file names #13942

Closedflamboh(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/13942/headopened View on GitHub

Showing 1 changed file with 1 addition and 1 deletion.

x
0 of 1 viewed, 1 left
1 addition and 1 deletionapps/server/src/provider/RuntimeInstructions.tsModified
View file
@@ -20,7 +20,7 @@
modelName && modelName !== model ? `${modelName} (model slug: ${model})` : model;
const modelInfo = model && model !== "auto" && model !== "default" ? `, as ${modelLabel}` : "";
const effortInfo = effort ? ` with ${effort} reasoning effort` : "";
- return `<runtime_info>In case you're asked: you are running in T3 Code through the ${harness} harness${modelInfo}${effortInfo}. No need to mention this otherwise. You can embed images and videos in your response using Markdown with absolute file paths.</runtime_info>\n\n${PULL_REQUEST_LINKING_INSTRUCTIONS}`;
+ return `<runtime_info>In case you're asked: you are running in T3 Code through the ${harness} harness${modelInfo}${effortInfo}. No need to mention this otherwise. You can embed images and videos in your response using Markdown with absolute file paths. Write each image revision to a new file name; reused paths show the old cached image.</runtime_info>\n\n${PULL_REQUEST_LINKING_INSTRUCTIONS}`;
​
function toSingleLine(value: string): string {