mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 04:42:25 +00:00
tool index refreshing when token is provided to create_turn
This commit is contained in:
parent
57745101be
commit
76f593143b
7 changed files with 217 additions and 21 deletions
|
|
@ -145,6 +145,17 @@ class ToolGroups(Protocol):
|
|||
"""
|
||||
...
|
||||
|
||||
@webmethod(route="/toolgroups/{toolgroup_id:path}/refresh", method="POST")
|
||||
async def refresh_tools(
|
||||
self,
|
||||
toolgroup_id: str,
|
||||
) -> None:
|
||||
"""Refresh tools for a specific toolgroup.
|
||||
|
||||
:param toolgroup_id: The ID of the toolgroup to refresh tools for.
|
||||
"""
|
||||
...
|
||||
|
||||
@webmethod(route="/toolgroups/{toolgroup_id:path}", method="DELETE")
|
||||
async def unregister_toolgroup(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue