Python: Clean up imports (#2318)

* chore: tidy imports

* Update python/packages/azurefunctions/agent_framework_azurefunctions/_errors.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update python/packages/azurefunctions/agent_framework_azurefunctions/_callbacks.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: revert stub file change

* chore: trigger pre-commit hook, re-add `annotations` import

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Brandon McConnell
2025-11-19 18:41:01 -05:00
committed by GitHub
Unverified
parent b3e96b80ae
commit 79bb87061b
45 changed files with 191 additions and 228 deletions
@@ -10,7 +10,7 @@ standard chat interface.
import asyncio
import os
from agent_framework_ag_ui import AGUIChatClient
from agent_framework.ag_ui import AGUIChatClient
async def main():
@@ -13,8 +13,7 @@ import asyncio
import os
from agent_framework import ai_function
from agent_framework_ag_ui import AGUIChatClient
from agent_framework.ag_ui import AGUIChatClient
@ai_function
@@ -23,8 +23,7 @@ import logging
import os
from agent_framework import ChatAgent, FunctionCallContent, FunctionResultContent, TextContent, ai_function
from agent_framework_ag_ui import AGUIChatClient
from agent_framework.ag_ui import AGUIChatClient
# Enable debug logging
logging.basicConfig(