xpander-sdk 2.0.207__py3-none-any.whl → 2.0.208__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -475,6 +475,32 @@ class AgentOutput(BaseModel):
475
475
  use_json_mode: Optional[bool] = False
476
476
 
477
477
  class TaskLevelStrategies(XPanderSharedModel):
478
+ """
479
+ Configuration object for task-level execution strategies.
480
+
481
+ This model groups optional strategy configurations that control how a task is
482
+ executed and managed over time, including retries, iterative execution,
483
+ stopping conditions, and daily run limits.
484
+
485
+ Attributes:
486
+ retry_strategy:
487
+ Optional retry policy configuration that defines how the task should
488
+ behave when execution fails (e.g., max attempts, backoff rules).
489
+
490
+ iterative_strategy:
491
+ Optional iterative execution configuration for tasks that may run in
492
+ repeated cycles/steps until completion or a stop condition is met.
493
+
494
+ stop_strategy:
495
+ Optional stopping policy configuration that defines when the task
496
+ should stop running (e.g., timeout, max iterations, success criteria).
497
+
498
+ max_runs_per_day:
499
+ Optional limit on how many times the task is allowed to run within a
500
+ 24-hour period. If not set, no explicit daily limit is enforced.
501
+ """
502
+
478
503
  retry_strategy: Optional[OrchestrationRetryStrategy] = None
479
504
  iterative_strategy: Optional[OrchestrationIterativeStrategy] = None
480
- stop_strategy: Optional[OrchestrationStopStrategy] = None
505
+ stop_strategy: Optional[OrchestrationStopStrategy] = None
506
+ max_runs_per_day: Optional[int] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xpander-sdk
3
- Version: 2.0.207
3
+ Version: 2.0.208
4
4
  Summary: xpander.ai Backend-as-a-service for AI Agents - SDK
5
5
  Home-page: https://www.xpander.ai
6
6
  Author: xpanderAI
@@ -23,7 +23,7 @@ xpander_sdk/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
23
23
  xpander_sdk/modules/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  xpander_sdk/modules/agents/agents_module.py,sha256=3EhKOIPb4c39GOrNt4zU4V6WbsGj7W_yWwRNSJBKmfc,6419
25
25
  xpander_sdk/modules/agents/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
- xpander_sdk/modules/agents/models/agent.py,sha256=lHWz37a4_qB9Hq4sZhvjILjj566hJHZbDlj7JJ6iO68,15340
26
+ xpander_sdk/modules/agents/models/agent.py,sha256=K0ZIF_JA09Vz1I2QdBvbXoByz_OzUQtNH7eE5imQ_CA,16427
27
27
  xpander_sdk/modules/agents/models/agent_list.py,sha256=byEayS2uLwDKaVT3lAHltrFocQFKpr8XEwQ6NTEEEMo,4081
28
28
  xpander_sdk/modules/agents/models/knowledge_bases.py,sha256=YimpjVJxWe8YTbGMD6oGQOA_YV8ztHQHTTBOaBB44ZM,1037
29
29
  xpander_sdk/modules/agents/sub_modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -90,8 +90,8 @@ xpander_sdk/utils/generic.py,sha256=XrRj2-L8c0YWpfPdDyXE-pVL-6lKF9VpyZzKHQ4wuCc,
90
90
  xpander_sdk/utils/tools.py,sha256=lyFkq2yP7DxBkyXYVlnFRwDhQCvf0fZZMDm5fBycze4,1244
91
91
  xpander_sdk/utils/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
92
  xpander_sdk/utils/agents/compactization_agent.py,sha256=S_U1dSmDC7I0JUsp_THUYjfutEI5QMBaMPJEXGp0_Sw,14389
93
- xpander_sdk-2.0.207.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
94
- xpander_sdk-2.0.207.dist-info/METADATA,sha256=DD0MwqtsCcc7b2XXQReMG6y4P-4Rqkbu-sutigeeoIg,17952
95
- xpander_sdk-2.0.207.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
96
- xpander_sdk-2.0.207.dist-info/top_level.txt,sha256=UCjnxQpsMy5Zoe7lmRuVDO6DI2V_6PgRFfm4oizRbVs,12
97
- xpander_sdk-2.0.207.dist-info/RECORD,,
93
+ xpander_sdk-2.0.208.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
94
+ xpander_sdk-2.0.208.dist-info/METADATA,sha256=MSaI4iPo6_l9e4BOPwlT-4FtLI70FBqwihyjxFUBu9s,17952
95
+ xpander_sdk-2.0.208.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
96
+ xpander_sdk-2.0.208.dist-info/top_level.txt,sha256=UCjnxQpsMy5Zoe7lmRuVDO6DI2V_6PgRFfm4oizRbVs,12
97
+ xpander_sdk-2.0.208.dist-info/RECORD,,