agent: Fix invalid tool names in batch tool description (#28109)
The description of the Batch Tool was still referring using `-` as a seperator for tool names Release Notes: - N/A
This commit is contained in:
parent
1a899fda60
commit
02a8ece074
1 changed files with 9 additions and 9 deletions
|
@ -31,19 +31,19 @@ pub struct BatchToolInput {
|
||||||
/// {
|
/// {
|
||||||
/// "invocations": [
|
/// "invocations": [
|
||||||
/// {
|
/// {
|
||||||
/// "name": "read-file",
|
/// "name": "read_file",
|
||||||
/// "input": {
|
/// "input": {
|
||||||
/// "path": "src/main.rs"
|
/// "path": "src/main.rs"
|
||||||
/// }
|
/// }
|
||||||
/// },
|
/// },
|
||||||
/// {
|
/// {
|
||||||
/// "name": "list-directory",
|
/// "name": "list_directory",
|
||||||
/// "input": {
|
/// "input": {
|
||||||
/// "path": "src/lib"
|
/// "path": "src/lib"
|
||||||
/// }
|
/// }
|
||||||
/// },
|
/// },
|
||||||
/// {
|
/// {
|
||||||
/// "name": "regex-search",
|
/// "name": "regex_search",
|
||||||
/// "input": {
|
/// "input": {
|
||||||
/// "regex": "fn run\\("
|
/// "regex": "fn run\\("
|
||||||
/// }
|
/// }
|
||||||
|
@ -61,7 +61,7 @@ pub struct BatchToolInput {
|
||||||
/// {
|
/// {
|
||||||
/// "invocations": [
|
/// "invocations": [
|
||||||
/// {
|
/// {
|
||||||
/// "name": "find-replace-file",
|
/// "name": "find_replace_file",
|
||||||
/// "input": {
|
/// "input": {
|
||||||
/// "path": "src/config.rs",
|
/// "path": "src/config.rs",
|
||||||
/// "display_description": "Update default timeout value",
|
/// "display_description": "Update default timeout value",
|
||||||
|
@ -70,7 +70,7 @@ pub struct BatchToolInput {
|
||||||
/// }
|
/// }
|
||||||
/// },
|
/// },
|
||||||
/// {
|
/// {
|
||||||
/// "name": "find-replace-file",
|
/// "name": "find_replace_file",
|
||||||
/// "input": {
|
/// "input": {
|
||||||
/// "path": "src/config.rs",
|
/// "path": "src/config.rs",
|
||||||
/// "display_description": "Update API endpoint URL",
|
/// "display_description": "Update API endpoint URL",
|
||||||
|
@ -91,13 +91,13 @@ pub struct BatchToolInput {
|
||||||
/// {
|
/// {
|
||||||
/// "invocations": [
|
/// "invocations": [
|
||||||
/// {
|
/// {
|
||||||
/// "name": "regex-search",
|
/// "name": "regex_search",
|
||||||
/// "input": {
|
/// "input": {
|
||||||
/// "regex": "impl Database"
|
/// "regex": "impl Database"
|
||||||
/// }
|
/// }
|
||||||
/// },
|
/// },
|
||||||
/// {
|
/// {
|
||||||
/// "name": "path-search",
|
/// "name": "path_search",
|
||||||
/// "input": {
|
/// "input": {
|
||||||
/// "glob": "**/*test*.rs"
|
/// "glob": "**/*test*.rs"
|
||||||
/// }
|
/// }
|
||||||
|
@ -115,7 +115,7 @@ pub struct BatchToolInput {
|
||||||
/// {
|
/// {
|
||||||
/// "invocations": [
|
/// "invocations": [
|
||||||
/// {
|
/// {
|
||||||
/// "name": "find-replace-file",
|
/// "name": "find_replace_file",
|
||||||
/// "input": {
|
/// "input": {
|
||||||
/// "path": "src/models/user.rs",
|
/// "path": "src/models/user.rs",
|
||||||
/// "display_description": "Add email field to User struct",
|
/// "display_description": "Add email field to User struct",
|
||||||
|
@ -124,7 +124,7 @@ pub struct BatchToolInput {
|
||||||
/// }
|
/// }
|
||||||
/// },
|
/// },
|
||||||
/// {
|
/// {
|
||||||
/// "name": "find-replace-file",
|
/// "name": "find_replace_file",
|
||||||
/// "input": {
|
/// "input": {
|
||||||
/// "path": "src/db/queries.rs",
|
/// "path": "src/db/queries.rs",
|
||||||
/// "display_description": "Update user insertion query",
|
/// "display_description": "Update user insertion query",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue