Skip to content

Commit 08ba222

Browse files
committed
Updated to latest API release.
1 parent 3d628d8 commit 08ba222

File tree

8 files changed

+24
-0
lines changed

8 files changed

+24
-0
lines changed

documents/agent/GetAgent.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ query GetAgent($id: ID!, $correlationId: String) {
230230
timeout
231231
prompt
232232
scratchpad
233+
researchDepth
233234
callbackUri
234235
}
235236
}

documents/agent/QueryAgents.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ query QueryAgents($filter: AgentFilter, $correlationId: String) {
229229
timeout
230230
prompt
231231
scratchpad
232+
researchDepth
232233
callbackUri
233234
}
234235
}

graphlit_api/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@
699699
from .enrich_products import EnrichProducts, EnrichProductsEnrichProducts
700700
from .enums import (
701701
AgentChannelTypes,
702+
AgentResearchDepths,
702703
AgentTypes,
703704
AlertTypes,
704705
AnthropicEffortLevels,
@@ -5461,6 +5462,7 @@
54615462
"AgentChannelTypes",
54625463
"AgentFilter",
54635464
"AgentInput",
5465+
"AgentResearchDepths",
54645466
"AgentSchedulePolicyInput",
54655467
"AgentTriggerFilterInput",
54665468
"AgentTypes",

graphlit_api/enums.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,13 @@ class TwelveLabsSegmentationMethods(str, Enum):
388388
FIXED = "FIXED"
389389

390390

391+
class AgentResearchDepths(str, Enum):
392+
QUICK = "QUICK"
393+
STANDARD = "STANDARD"
394+
DEEP = "DEEP"
395+
EXHAUSTIVE = "EXHAUSTIVE"
396+
397+
391398
class TimedPolicyRecurrenceTypes(str, Enum):
392399
ONCE = "ONCE"
393400
REPEAT = "REPEAT"

graphlit_api/get_agent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from .base_model import BaseModel
99
from .enums import (
1010
AgentChannelTypes,
11+
AgentResearchDepths,
1112
AgentTypes,
1213
ContentTypes,
1314
EntityState,
@@ -47,6 +48,7 @@ class GetAgentAgent(BaseModel):
4748
timeout: Optional[Any]
4849
prompt: Optional[str]
4950
scratchpad: Optional[str]
51+
research_depth: Optional[AgentResearchDepths] = Field(alias="researchDepth")
5052
callback_uri: Optional[Any] = Field(alias="callbackUri")
5153

5254

graphlit_api/input_types.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from .base_model import BaseModel
99
from .enums import (
1010
AgentChannelTypes,
11+
AgentResearchDepths,
1112
AgentTypes,
1213
AlertTypes,
1314
AnthropicEffortLevels,
@@ -2907,6 +2908,9 @@ class AgentInput(BaseModel):
29072908
timeout: Optional[Any] = None
29082909
prompt: Optional[str] = None
29092910
scratchpad: Optional[str] = None
2911+
research_depth: Optional[AgentResearchDepths] = Field(
2912+
alias="researchDepth", default=None
2913+
)
29102914
channels: Optional[list["AgentChannelInput"]] = None
29112915
connectors: Optional[list["EntityReferenceInput"]] = None
29122916
callback_uri: Optional[Any] = Field(alias="callbackUri", default=None)
@@ -7406,6 +7410,9 @@ class AgentUpdateInput(BaseModel):
74067410
timeout: Optional[Any] = None
74077411
prompt: Optional[str] = None
74087412
scratchpad: Optional[str] = None
7413+
research_depth: Optional[AgentResearchDepths] = Field(
7414+
alias="researchDepth", default=None
7415+
)
74097416
channels: Optional[list["AgentChannelInput"]] = None
74107417
connectors: Optional[list["EntityReferenceInput"]] = None
74117418
callback_uri: Optional[Any] = Field(alias="callbackUri", default=None)

graphlit_api/operations.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@
794794
timeout
795795
prompt
796796
scratchpad
797+
researchDepth
797798
callbackUri
798799
}
799800
}
@@ -1031,6 +1032,7 @@
10311032
timeout
10321033
prompt
10331034
scratchpad
1035+
researchDepth
10341036
callbackUri
10351037
}
10361038
}

graphlit_api/query_agents.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from .base_model import BaseModel
99
from .enums import (
1010
AgentChannelTypes,
11+
AgentResearchDepths,
1112
AgentTypes,
1213
ContentTypes,
1314
EntityState,
@@ -51,6 +52,7 @@ class QueryAgentsAgentsResults(BaseModel):
5152
timeout: Optional[Any]
5253
prompt: Optional[str]
5354
scratchpad: Optional[str]
55+
research_depth: Optional[AgentResearchDepths] = Field(alias="researchDepth")
5456
callback_uri: Optional[Any] = Field(alias="callbackUri")
5557

5658

0 commit comments

Comments
 (0)