Skip to content

Commit 8931152

Browse files
feat(PRO-637): added persist_thread_id for agent nodes
1 parent 50d2b71 commit 8931152

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/xpander_sdk/models/orchestrations.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ class OrchestrationPointerNode(XPanderSharedModel):
224224
instructions: Optional instructions for the pointer node (Action only).
225225
instructions_mode: Mode to use for pointer node, specifically for agent nodes.
226226
ignore_response: Should ignore the node result and proceed with previous result?.
227+
persist_thread_id: Should persist the thread in agent nodes? default (True).
227228
schema_override: Optional schema override with permanentValue fields for fixed values.
228229
"""
229230

@@ -240,6 +241,7 @@ class OrchestrationPointerNode(XPanderSharedModel):
240241
instructions: Optional[str] = None
241242
instructions_mode: Optional[OrchestrationPointerNodeInstructionsMode] = OrchestrationPointerNodeInstructionsMode.Append
242243
ignore_response: Optional[bool] = False
244+
persist_thread_id: Optional[bool] = True
243245
schema_override: Optional[SchemaOverride] = None
244246

245247
class ClassificationGroup(XPanderSharedModel):

0 commit comments

Comments
 (0)