Skip to content

Migrate to agora-agents 2.3.x + construction smoke test#1

Merged
plutoless merged 1 commit into
mainfrom
fix/agora-agents-2.3.x
Jun 18, 2026
Merged

Migrate to agora-agents 2.3.x + construction smoke test#1
plutoless merged 1 commit into
mainfrom
fix/agora-agents-2.3.x

Conversation

@plutoless

Copy link
Copy Markdown
Contributor

What

Adapts this recipe to agora-agents 2.3.x, which moved the Agora client into the AgoraAgent(...) constructor and removed the agent name (the SDK auto-assigns a unique session name). Because the recipe pinned >=2.0.0 — which already resolves to 2.3.x — a fresh install currently fails at agent construction; this restores it.

Changes

  • client bound at construction; dropped from create_async_session(...)
  • Dropped the explicit name
  • Floor bumped to agora-agents>=2.3.0
  • New server/tests/test_agent_construction.py — builds the real AgoraAgent (monkeypatching only the SDK session call). The existing suite stubbed the whole agent and never exercised construction, so SDK-shape breaks slipped through green CI; this closes that gap.

Verification

Full server test suite green, including the new construction smoke test.

🤖 Generated with Claude Code

@plutoless
plutoless merged commit bab915e into main Jun 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant