tool index refreshing when token is provided to create_turn

This commit is contained in:
Lance Galletti 2025-07-02 15:08:10 -04:00
parent 57745101be
commit 76f593143b
7 changed files with 217 additions and 21 deletions

View file

@ -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,