Skip to content

Commit 9f3986a

Browse files
committed
fix(root): import AgentClient/AsyncAgentClient from .pool_client
They are defined in pool_client (= Agora/AsyncAgora), not agentkit. Only the TYPE_CHECKING import location was wrong.
1 parent 003660c commit 9f3986a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/agora_agent/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@
1212
if typing.TYPE_CHECKING:
1313
from . import agents, agentkit, core, phone_numbers, telephony
1414
from .core.domain import Area, Pool, create_pool
15-
from .pool_client import Agora, AsyncAgora
15+
from .pool_client import Agora, AsyncAgora, AgentClient, AsyncAgentClient
1616
from .version import __version__
1717
from .agentkit import (
1818
Agent,
1919
AgentSession,
2020
AgentSessionOptions,
21-
AgentClient,
22-
AsyncAgentClient,
2321
CNAgent,
2422
GlobalAgent,
2523
GenericAvatar,

0 commit comments

Comments
 (0)