Skip to content

refactor(agents): Improve transfer type safety#6324

Open
mdabydeen wants to merge 1 commit into
google:mainfrom
mdabydeen:refactor/agent-transfer-typing
Open

refactor(agents): Improve transfer type safety#6324
mdabydeen wants to merge 1 commit into
google:mainfrom
mdabydeen:refactor/agent-transfer-typing

Conversation

@mdabydeen

Copy link
Copy Markdown

Created branch refactor/agent-transfer-typing and implemented the typing cleanup in src/google/ adk/flows/llm_flows/agent_transfer.py

Changes:

  • Replaced Any with BaseAgent.
  • Accepted Sequence[BaseAgent].
  • Corrected type-only imports.
  • Removed obsolete TODOs and quoted annotations.

Replace Any annotations with BaseAgent and Sequence to make transfer helper contracts explicit without changing runtime behavior.

Author: Mike Dabydeen <mdabydeen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant