refactor(agents): Improve transfer type safety#6324
Conversation
Replace Any annotations with BaseAgent and Sequence to make transfer helper contracts explicit without changing runtime behavior. Author: Mike Dabydeen <mdabydeen@gmail.com>
|
Hi @mdabydeen , Thank you for your contribution! We appreciate you taking the time to submit this pull request. |
|
Hey @rohityan, appreciate you taking the time. This PR is a small, low-risk typing cleanup in What changed:
Risk: none functionally, this is annotations and imports only, no runtime logic touched. |
|
Response from ADK Triaging Agent Hello @mdabydeen, thank you for creating this PR! This PR is a code refactoring of type annotations. Could you please include a This will help our reviewers verify the correctness of the refactoring. Thank you! |
Created branch refactor/agent-transfer-typing and implemented the typing cleanup in
src/google/ adk/flows/llm_flows/agent_transfer.pyChanges: