fix(server): tell agents to link outside files by absolute path #18370
ClosedAlb11747(GitHub profile, opens in a new tab)wants to merge 1 commit into
main fromrefs/pull/18370/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
juliusmarminge added labelsmacroscope-review
- @@ -20,4 +20,4 @@2020 modelName && modelName !== model ? `${modelName} (model slug: ${model})` : model;2121 const modelInfo = model && model !== "auto" && model !== "default" ? `, as ${modelLabel}` : "";2222 const effortInfo = effort ? ` with ${effort} reasoning effort` : "";23- 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}`;23+ 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. In your replies, relative file links resolve from this thread's workspace root, regardless of your shell's current directory. Use absolute paths for files outside the workspace.</runtime_info>\n\n${PULL_REQUEST_LINKING_INSTRUCTIONS}`;
coderabbitai[bot](GitHub profile, opens in a new tab) approved these changes
Alb11747(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Codex Review Summary#
This comment shows the latest Codex review activity on this pull request.
94d951fℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.