From 9d2a55ecfb53a946afde0ce3021b11f64da57dfd Mon Sep 17 00:00:00 2001 From: Tao Chen Date: Mon, 20 Apr 2026 18:47:15 -0700 Subject: [PATCH] Fix pre commit 3 --- .../agent_framework_foundry_hosting/_responses.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/packages/foundry_hosting/agent_framework_foundry_hosting/_responses.py b/python/packages/foundry_hosting/agent_framework_foundry_hosting/_responses.py index a56f907b9c..f7e6dcf2e4 100644 --- a/python/packages/foundry_hosting/agent_framework_foundry_hosting/_responses.py +++ b/python/packages/foundry_hosting/agent_framework_foundry_hosting/_responses.py @@ -6,7 +6,8 @@ import asyncio import json import logging import os -from collections.abc import AsyncIterable, AsyncIterator, Generator, Mapping +from collections.abc import AsyncIterable, AsyncIterator, Generator, Mapping, Sequence +from typing import cast from agent_framework import ( ChatOptions, @@ -82,8 +83,6 @@ from azure.ai.agentserver.responses.streaming._builders import ( TextContentBuilder, ) from typing_extensions import Any -from typing import cast -from collections.abc import Sequence logger = logging.getLogger(__name__)