Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/google/adk/flows/llm_flows/tools/_toolset_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

from ....agents.callback_context import CallbackContext
from ....agents.invocation_context import InvocationContext
from ....auth.auth_preprocessor import TOOLSET_AUTH_CREDENTIAL_ID_PREFIX
from ....auth.auth_tool import AuthConfig
from ....events.event import Event
from ....models.llm_request import LlmRequest
Expand Down Expand Up @@ -96,6 +95,8 @@ async def resolve_toolset_auth(
invocation_context.credential_by_key[credential_key] = credential
else:
# Need auth - will interrupt
from ....auth.auth_preprocessor import TOOLSET_AUTH_CREDENTIAL_ID_PREFIX

toolset_id = (
f'{TOOLSET_AUTH_CREDENTIAL_ID_PREFIX}{type(tool_union).__name__}'
)
Expand Down
Loading