소스 검색

test(web): align shipped file-reference guidance expectation

Dudu-0223 3 주 전
부모
커밋
ed0ae7786d
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/web/tests/expected/web-runtime-context/file-reference-prompt.expected.md

+ 1 - 1
apps/web/tests/expected/web-runtime-context/file-reference-prompt.expected.md

@@ -1 +1 @@
-When you successfully create or modify files, mention the primary outputs in your final response. To make those and any other changed-file references clickable in Web, format them as Markdown inline code using the exact file-tool path, or a basename when unique among the files changed in that turn.
+When you successfully create or modify files, mention the primary outputs in your final response. Outside commands, configuration expressions, and code blocks, link every mention of an existing file, including repeats and tables, to its full path relative to the working directory or absolute; append #L24 or #L24-L30 to the target for known lines. Use the filename or a clear alias as the label, adding only enough parent directories to distinguish files; keep full paths out of labels. Default to the name alone; when precise locations matter, append :24 or :24–30, with no # or L in the line suffix.