Skip to content

Commit ca97486

Browse files
committed
fix(dashboard-agent): scope correlate_version's dev-run exception to the found environment
1 parent c4d0e06 commit ca97486

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

internal-packages/dashboard-agent/src/__snapshots__/prompt-prefix.test.ts.snap

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal-packages/dashboard-agent/src/tool-schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export const getDeploySchema = tool({
268268

269269
export const correlateVersionSchema = tool({
270270
description:
271-
"Find the exact code a run executed: the deployed version it locked to, that version's commit SHA, and the commit message, branch, and pull request behind it. Use this for 'what commit is this run running', 'which change broke this', or before reading source for a run. A 404 here means not found IN THIS environment, never that the run isn't locked or deployed: you MUST immediately, this same turn, with no permission question, call list_projects and repeat this call with `project`/`environment` set for the current project's other environments and every sibling project's matching environment, then answer naming what you checked. Never infer 'dev run' or 'no locked commit' from a single-environment 404.",
271+
"Find the exact code a run executed: the deployed version it locked to, that version's commit SHA, and the commit message, branch, and pull request behind it. Use this for 'what commit is this run running', 'which change broke this', or before reading source for a run. A 404 here means not found IN THIS environment, never that the run isn't locked or deployed: you MUST immediately, this same turn, with no permission question, call list_projects and repeat this call with `project`/`environment` set for the current project's other environments and every sibling project's matching environment, then answer naming what you checked. Never infer 'dev run' or 'no locked commit' from a single-environment 404. Once the sweep locates the run, a run in a dev environment legitimately has no locked deployment — say that only about the environment where you found it.",
272272
inputSchema: z.object({
273273
runId: z.string().describe("The run id, e.g. run_abc123."),
274274
project: projectOverrideField,

0 commit comments

Comments
 (0)