Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/packages/core/agent_framework/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@
"USER_AGENT_TELEMETRY_DISABLED_ENV_VAR",
"Agent",
"AgentContext",
"AgentFrameworkException",
"AgentEvalConverter",
"AgentExecutor",
"AgentExecutorRequest",
"AgentExecutorResponse",
"AgentFrameworkException",
"AgentMiddleware",
"AgentMiddlewareLayer",
"AgentMiddlewareTypes",
Expand Down
1 change: 0 additions & 1 deletion python/packages/core/tests/core/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

"""Tests for AgentFrameworkException inner_exception handling."""

import pytest

from agent_framework import AgentFrameworkException

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ async def poem_workflow(topic: str) -> str:
poem = (await writer.run(f"Write a poem about: {topic}")).text
review = (await reviewer.run(f"Review this poem: {poem}")).text
return f"Poem:\n{poem}\n\nReview: {review}"


# </create_workflow>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ async def text_workflow(text: str) -> str:
"""Uppercase the text, then reverse it."""
upper = await to_upper_case(text)
return await reverse_text(upper)


# </create_workflow>


Expand Down
2 changes: 1 addition & 1 deletion python/samples/04-hosting/a2a/agent_framework_to_a2a.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
agent = Agent(
client=OpenAIChatClient(),
name="Europe Travel Agent",
instructions="You are a helpful Europe Travel Agent. You can help users search and book flights and hotels across Europe."
instructions="You are a helpful Europe Travel Agent. You can help users search and book flights and hotels across Europe.",
)
Comment thread
moonbox3 marked this conversation as resolved.

request_handler = DefaultRequestHandler(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@

# Azure authentication
azure-identity

# Redis client with asyncio support (used by redis_stream_response_handler.py)
redis[asyncio]
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@

# Azure authentication
azure-identity

# Redis client with asyncio support (used by redis_stream_response_handler.py)
redis[asyncio]
Loading