renamed all (#3207)

This commit is contained in:
Eduard van Valkenburg
2026-01-14 06:54:07 +01:00
committed by GitHub
Unverified
parent 1ae0b09e42
commit d8cf8361bd
125 changed files with 1024 additions and 1027 deletions
@@ -34,7 +34,7 @@ async def main():
Expected result:
User: What is the current time?
Result: {
"type": "agent_run_response",
"type": "agent_response",
"messages": [
{
"type": "chat_message",
@@ -4,7 +4,7 @@ import asyncio
from random import randrange
from typing import TYPE_CHECKING, Annotated, Any
from agent_framework import AgentRunResponse, ChatAgent, ChatMessage, ai_function
from agent_framework import AgentResponse, ChatAgent, ChatMessage, ai_function
from agent_framework.openai import OpenAIResponsesClient
if TYPE_CHECKING:
@@ -39,7 +39,7 @@ def get_weather_detail(location: Annotated[str, "The city and state, e.g. San Fr
)
async def handle_approvals(query: str, agent: "AgentProtocol") -> AgentRunResponse:
async def handle_approvals(query: str, agent: "AgentProtocol") -> AgentResponse:
"""Handle function call approvals.
When we don't have a thread, we need to ensure we include the original query,