[BREAKING] Python: Move single-config fluent methods to constructor parameters (#3693)

* Move single-config fluent methods to constructor parameters

* Updates

* Adjust magentic and group chat
This commit is contained in:
Evan Mattson
2026-02-07 15:01:52 +09:00
committed by GitHub
Unverified
parent 5d355ac507
commit 74ac470a56
132 changed files with 1341 additions and 2386 deletions
@@ -540,7 +540,7 @@ class EntityDiscovery:
This safely checks for module-level assignments like:
- agent = ChatAgent(...)
- workflow = WorkflowBuilder()...
- workflow = WorkflowBuilder(start_executor=...)...
Args:
file_path: Python file to check
@@ -441,7 +441,7 @@ class AgentFrameworkExecutor:
if not checkpoint_id:
error_msg = (
"Cannot process HIL responses without a checkpoint. "
"Workflows using HIL must be configured with .with_checkpointing() "
"Workflows using HIL must be configured with checkpoint_storage in constructor"
"and a checkpoint must exist before sending responses."
)
logger.error(error_msg)