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
19 changes: 17 additions & 2 deletions src/tau2_voice/agent/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
from tau2_voice.agent.base import BaseAgent
from tau2_voice.agent.realtime import RealtimeAgent
from tau2_voice.agent.human import HumanAgent
from tau2_voice.agent.user import UserAgent
from tau2_voice.agent.qwen3_omni import Qwen3OmniAgent
from tau2_voice.agent.gemini_live import GeminiLiveAgent
from tau2_voice.agent.cascade import CascadeAgent

__all__ = ["BaseAgent", "RealtimeAgent", "HumanAgent", "UserAgent", "Qwen3OmniAgent", "GeminiLiveAgent"]
# HumanAgent requires sounddevice/PortAudio which may not be available on servers
# Import lazily to avoid import errors
try:
from tau2_voice.agent.human import HumanAgent
except (ImportError, OSError):
HumanAgent = None # type: ignore

__all__ = [
"BaseAgent",
"RealtimeAgent",
"HumanAgent",
"UserAgent",
"Qwen3OmniAgent",
"GeminiLiveAgent",
"CascadeAgent",
]
Loading