mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-09 21:18:38 +00:00
fix agentic_system utils
This commit is contained in:
parent
8efe614719
commit
830252257b
2 changed files with 11 additions and 24 deletions
|
@ -54,9 +54,9 @@ class CustomTool:
|
|||
}
|
||||
)
|
||||
|
||||
def get_tool_definition(self) -> AgenticSystemToolDefinition:
|
||||
return AgenticSystemToolDefinition(
|
||||
tool_name=self.get_name(),
|
||||
def get_tool_definition(self) -> FunctionCallToolDefinition:
|
||||
return FunctionCallToolDefinition(
|
||||
function_name=self.get_name(),
|
||||
description=self.get_description(),
|
||||
parameters=self.get_params_definition(),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue