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
Copy file name to clipboardExpand all lines: cognite/client/data_classes/agents/agents.py
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ class AgentCore(WriteableCogniteResource["AgentUpsert"]):
28
28
description (str | None): The description of the agent.
29
29
instructions (str | None): Instructions for the agent.
30
30
model (str | None): Name of the language model to use. For example, "azure/gpt-4o", "gcp/gemini-2.0" or "aws/claude-3.5-sonnet".
31
+
runtime_version (str | None): The runtime version of the agent. Defines the complete execution environment including system prompt, available tools, and core features. Defaults to the latest version if not set. See https://docs.cognite.com/cdf/atlas_ai/references/atlas_ai_agent_runtime_versions for available versions.
31
32
labels (list[str] | None): Labels for the agent. For example, ["published"] to mark an agent as published.
32
33
"""
33
34
@@ -36,6 +37,7 @@ class AgentCore(WriteableCogniteResource["AgentUpsert"]):
36
37
description: str|None=None
37
38
instructions: str|None=None
38
39
model: str|None=None
40
+
runtime_version: str|None=None
39
41
labels: list[str] |None=None
40
42
41
43
@@ -50,6 +52,7 @@ class AgentUpsert(AgentCore):
50
52
description (str | None): The human readable description of the agent.
51
53
instructions (str | None): Instructions for the agent.
52
54
model (str | None): Name of the language model to use. For example, "azure/gpt-4o", "gcp/gemini-2.0" or "aws/claude-3.5-sonnet".
55
+
runtime_version (str | None): The runtime version of the agent. Defines the complete execution environment including system prompt, available tools, and core features. Defaults to the latest version if not set. See https://docs.cognite.com/cdf/atlas_ai/references/atlas_ai_agent_runtime_versions for available versions.
53
56
labels (list[str] | None): Labels for the agent. For example, ["published"] to mark an agent as published.
54
57
tools (AgentToolUpsertList | Sequence[AgentToolUpsert] | None): List of tools for the agent.
description (str | None): The human readable description of the agent. Always present in API responses.
131
137
instructions (str | None): Instructions for the agent. Always present in API responses.
132
138
model (str | None): Name of the language model to use. For example, "azure/gpt-4o", "gcp/gemini-2.0" or "aws/claude-3.5-sonnet". Always present in API responses.
139
+
runtime_version (str | None): The runtime version of the agent. Defines the complete execution environment including system prompt, available tools, and core features. Always present in API responses (server defaults to the latest version if not provided on upsert). See https://docs.cognite.com/cdf/atlas_ai/references/atlas_ai_agent_runtime_versions for available versions.
133
140
labels (list[str] | None): Labels for the agent. For example, ["published"] to mark an agent as published. Always present in API responses.
134
141
tools (AgentToolList | Sequence[AgentTool] | None): List of tools for the agent.
135
-
owner_id (str | None): The ID of the user who owns the agent.
142
+
owner_id (str | None): The ID of the user who owns the agent. Always present in API responses.
0 commit comments