@@ -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
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user