You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: export global vendor types at top-level; add agora_agent.cn module
Global vendor classes now resolve to real types via the top-level TYPE_CHECKING
block, so `from agora_agent import DeepgramSTT` gives IDE autocomplete (was Any).
CN vendors get a dedicated `agora_agent.cn` module (natural names), which also
resolves the MicrosoftSTT/MicrosoftTTS/MiniMaxTTS collisions. SpatiusAvatar (CN) is
now cn-only; XaiGrok/GenericAvatar demoted to TYPE_CHECKING-only.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/guides/avatars.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,8 @@ agent = (
132
132
`SpatiusAvatar` is available for `Area.CN` sessions. Provide `spatius_api_key`, `spatius_app_id`, `spatius_avatar_id`, and `agora_uid` when constructing the avatar. `agora_token` is optional and is generated at session start when omitted, like SenseTime and Generic avatars.
133
133
134
134
```python
135
-
from agora_agent import Agora, Area, CNAgent, GenericTTS, SpatiusAvatar, TencentSTT
135
+
from agora_agent import Agora, Area, CNAgent, GenericTTS
136
+
from agora_agent.cn import SpatiusAvatar, TencentSTT
0 commit comments