Skip to content

Commit 830c104

Browse files
committed
fix type
1 parent 2356890 commit 830c104

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/packages/autogen-ext/src/autogen_ext/models/cache/_chat_completion_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def _check_cache(
233233
elif isinstance(parsed_data, list):
234234
# Handle streaming results stored as JSON string
235235
reconstructed_list_2: list[CreateResult | str] = []
236-
for item in parsed_data:
236+
for item in parsed_data: # type: ignore[reportUnknownVariableType]
237237
if isinstance(item, dict):
238238
reconstructed_list_2.append(CreateResult.model_validate(item))
239239
elif isinstance(item, str):

0 commit comments

Comments
 (0)