Skip to content

Commit cb44fb4

Browse files
aperepellizzij
authored andcommitted
refactor: remove unused Union import from llm_response.py
The Union type is no longer needed since finish_reason is always a FinishReason enum (never a string after our mapping). Addresses review comment: google#3114 (comment)
1 parent 538a5b0 commit cb44fb4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/google/adk/models/llm_response.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
from typing import Any
1818
from typing import Optional
19-
from typing import Union
2019

2120
from google.genai import types
2221
from pydantic import alias_generators

0 commit comments

Comments
 (0)