Skip to content

Commit 295c9ba

Browse files
Merge pull request #302 from ShreyasW-Microsoft/psl-dev-main-fixes
fix(ci): resolve processor_tests dependency conflict
2 parents b8c2239 + a3fb392 commit 295c9ba

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/processor/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
88
"agent-framework==1.3.0",
9+
"agent-framework-orchestrations==1.0.0b260507",
910
"aiohttp==3.13.5",
1011
"art==6.5",
1112
"azure-ai-agents==1.2.0b5",

src/processor/src/libs/agent_framework/groupchat_orchestrator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
Agent,
2626
AgentResponseUpdate,
2727
ChatOptions,
28+
Content,
2829
Executor,
2930
Message,
3031
SupportsAgentRun,
@@ -1594,7 +1595,7 @@ def _build_result_generator_conversation(
15941595
selected.append(
15951596
Message(
15961597
role=role,
1597-
contents=[truncated],
1598+
contents=[Content.from_text(truncated)],
15981599
author_name=author,
15991600
)
16001601
)
@@ -1623,7 +1624,7 @@ def _reconstruct_conversation_from_responses(self) -> list[Message]:
16231624
messages.append(
16241625
Message(
16251626
role="assistant",
1626-
contents=[resp.message],
1627+
contents=[Content.from_text(resp.message)],
16271628
author_name=resp.agent_name,
16281629
)
16291630
)

src/processor/uv.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)