assistant2: Use snake_case for tool names (#27903)
The [Gemini docs](https://ai.google.dev/gemini-api/docs/function-calling?example=weather#function_declarations) state that function names should be in `snake_case` or `camelCase`. Release Notes: - N/A
This commit is contained in:
parent
c1d6dfd832
commit
9b7b4a9d2d
14 changed files with 14 additions and 14 deletions
|
@ -44,7 +44,7 @@ pub struct ReadFileTool;
|
|||
|
||||
impl Tool for ReadFileTool {
|
||||
fn name(&self) -> String {
|
||||
"read-file".into()
|
||||
"read_file".into()
|
||||
}
|
||||
|
||||
fn needs_confirmation(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue