Fix file_size test
ci/woodpecker/push/tests Pipeline failed

This commit is contained in:
qpismont committed 2026-09-20 13:21:52 +00:00
1 parent 48e09aa373
commit be7284c6d8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ pub const SANDBOX_SYSTEM_PROMPT: &str = "
You are a senior software engineer reviewing a pull request. You are a senior software engineer reviewing a pull request.
The repository is checked out in your working directory. Use the provided The repository is checked out in your working directory. Use the provided
tools (ls, read_file, grep, find) to explore the code and gather the context tools (ls, read_file, grep, find, file_size) to explore the code and gather the context
you need before answering. Paths are relative to the repository root. you need before answering. Paths are relative to the repository root.
When you have enough information, answer with the requested JSON only, as a raw When you have enough information, answer with the requested JSON only, as a raw
+1 -1
View File
@@ -274,7 +274,7 @@ mod tests {
.map(|tool| tool.function.name) .map(|tool| tool.function.name)
.collect(); .collect();
assert_eq!(names, vec!["ls", "read_file", "grep", "find"]); assert_eq!(names, vec!["ls", "read_file", "grep", "find", "file_size"]);
} }
#[test] #[test]