-
Notifications
You must be signed in to change notification settings - Fork 424
Expand file tree
/
Copy path__init__.py
More file actions
55 lines (49 loc) · 1.21 KB
/
__init__.py
File metadata and controls
55 lines (49 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
"""Client-side components for interacting with an A2A agent."""
import logging
from a2a.client.auth import (
AuthInterceptor,
CredentialService,
InMemoryContextCredentialStore,
)
from a2a.client.base_client import BaseClient
from a2a.client.card_resolver import A2ACardResolver
from a2a.client.client import (
Client,
ClientCallContext,
ClientConfig,
ClientEvent,
Consumer,
)
from a2a.client.client_factory import (
A2AClientFactory,
ClientFactory,
minimal_agent_card,
)
from a2a.client.errors import (
A2AClientError,
A2AClientTimeoutError,
AgentCardResolutionError,
)
from a2a.client.helpers import create_text_message_object
from a2a.client.interceptors import ClientCallInterceptor
logger = logging.getLogger(__name__)
__all__ = [
'A2ACardResolver',
'A2AClientError',
'A2AClientFactory',
'A2AClientTimeoutError',
'AgentCardResolutionError',
'AuthInterceptor',
'BaseClient',
'Client',
'ClientCallContext',
'ClientCallInterceptor',
'ClientConfig',
'ClientEvent',
'ClientFactory',
'Consumer',
'CredentialService',
'InMemoryContextCredentialStore',
'create_text_message_object',
'minimal_agent_card',
]