-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathagent_view.py
More file actions
35 lines (23 loc) · 946 Bytes
/
agent_view.py
File metadata and controls
35 lines (23 loc) · 946 Bytes
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
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from .._models import BaseModel
from .shared.agent_source import AgentSource
__all__ = ["AgentView"]
class AgentView(BaseModel):
"""An Agent represents a registered AI agent entity."""
id: str
"""The unique identifier of the Agent."""
create_time_ms: int
"""The creation time of the Agent (Unix timestamp milliseconds)."""
is_public: bool
"""Whether the Agent is publicly accessible."""
name: str
"""The name of the Agent."""
source: Optional[AgentSource] = None
"""The source configuration for the Agent."""
version: Optional[str] = None
"""Optional version identifier for the Agent.
For npm/pip sources this is typically a semver string (e.g. '2.0.65'). For git
sources it can be a branch or tag. Omitted for object sources or when not
provided.
"""