mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 04:00:42 +00:00
lint fix and rename file search
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
2d9163529a
commit
bb34e942d1
7 changed files with 26 additions and 25 deletions
|
|
@ -18,7 +18,7 @@ logger = get_logger(name=__name__, category="core::routing_tables")
|
|||
|
||||
|
||||
def parse_toolgroup_from_toolgroup_name_pair(toolgroup_name_with_maybe_tool_name: str) -> str | None:
|
||||
# handle the funny case like "builtin::file_search/knowledge_search"
|
||||
# handle the funny case like "builtin::file_search/file_search"
|
||||
parts = toolgroup_name_with_maybe_tool_name.split("/")
|
||||
if len(parts) == 2:
|
||||
return parts[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue