fastworkflow 2.17.20__py3-none-any.whl → 2.17.21__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.
@@ -181,12 +181,16 @@ def run_main(args):
181
181
 
182
182
  StartupProgress.advance("ChatSession ready")
183
183
  StartupProgress.end()
184
-
184
+
185
185
  with contextlib.suppress(queue.Empty):
186
- if command_output := fastworkflow.chat_session.command_output_queue.get(
186
+ timeout: float | None = None
187
+ if args.startup_command or args.startup_action:
187
188
  timeout=180.0
189
+ if command_output := fastworkflow.chat_session.command_output_queue.get(
190
+ timeout=timeout
188
191
  ):
189
192
  print_command_output(command_output)
193
+
190
194
  while not fastworkflow.chat_session.workflow_is_complete or args.keep_alive:
191
195
  with patch_stdout():
192
196
  user_command = prompt_session.prompt()
@@ -182,7 +182,10 @@ def _execute_workflow_query(command: str, chat_session_obj: fastworkflow.ChatSes
182
182
  # Handle parameter extraction errors with abort
183
183
  if nlu_stage == fastworkflow.NLUPipelineStage.PARAMETER_EXTRACTION:
184
184
  abort_confirmation = _execute_workflow_query('abort', chat_session_obj=chat_session_obj)
185
- return f'{response_text}\n{abort_confirmation}'
185
+ return build_query_with_next_steps(
186
+ f'{response_text}\n{abort_confirmation}',
187
+ chat_session_obj, with_agent_inputs_and_trajectory = True
188
+ )
186
189
 
187
190
  # Clean up the context flag after command execution
188
191
  workflow = chat_session_obj.get_active_workflow()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastworkflow
3
- Version: 2.17.20
3
+ Version: 2.17.21
4
4
  Summary: A framework for rapidly building large-scale, deterministic, interactive workflows with a fault-tolerant, conversational UX
5
5
  License: Apache-2.0
6
6
  Keywords: fastworkflow,ai,workflow,llm,openai
@@ -145,7 +145,7 @@ fastworkflow/mcp_server.py,sha256=NxbLSKf2MA4lAHVcm6ZfiVuOjVO6IeV5Iw17wImFbxQ,88
145
145
  fastworkflow/model_pipeline_training.py,sha256=P_9wrYSfJVSYCTu8VEPkgXJ16eH58LLCK4rCRbRFAVg,46740
146
146
  fastworkflow/refine/__main__.py,sha256=7r4nVft1inkYQSDrrWD1poS5F8yWuatf98pCp6Lqo7Y,1842
147
147
  fastworkflow/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
148
- fastworkflow/run/__main__.py,sha256=WMrlkwUt0VTAp_DQwp3LAsJqZlFW63mmVXckuWdMiSo,12077
148
+ fastworkflow/run/__main__.py,sha256=l1u8YqLFtyoVyXxjdCzO4K65DPUeWjg1AmBd_M-tXSk,12202
149
149
  fastworkflow/run_fastapi_mcp/README.md,sha256=dAmG2KF-9mqSjyIPSA9vhUit-DjsDH6WJUDCkQ3C1is,11943
150
150
  fastworkflow/run_fastapi_mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
151
151
  fastworkflow/run_fastapi_mcp/__main__.py,sha256=PRW-0NYt0_SD5uSc4EHBcvjVE1E33rH8kg3iOYCJIH8,53881
@@ -175,10 +175,10 @@ fastworkflow/utils/react.py,sha256=FGDnzIPKSTwXOCrzUVluFtkZ06lVjgMdB-YQ8jhggZU,1
175
175
  fastworkflow/utils/signatures.py,sha256=ddcwCLNF_5dpItvcHdkZ0WBMse7CaqYpAyg6WwoJZPo,33310
176
176
  fastworkflow/utils/startup_progress.py,sha256=9icSdnpFAxzIq0sUliGpNaH0Efvrt5lDtGfURV5BD98,3539
177
177
  fastworkflow/workflow.py,sha256=37gn7e3ct-gdGw43zS6Ab_ADoJJBO4eJW2PywfUpjEg,18825
178
- fastworkflow/workflow_agent.py,sha256=LRPdl-3lDRPx8pQtK202JWGYMYBNz5Mruy630fCBCk0,18725
178
+ fastworkflow/workflow_agent.py,sha256=vdGoeiG7xIsG7rhqjdIwveCkPDvs_bb3dE-Pw-unYMA,18848
179
179
  fastworkflow/workflow_inheritance_model.py,sha256=Pp-qSrQISgPfPjJVUfW84pc7HLmL2evuq0UVIYR51K0,7974
180
- fastworkflow-2.17.20.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
181
- fastworkflow-2.17.20.dist-info/METADATA,sha256=GRA2Txe-gPQQ35HCtWh2NiqLg2f4O5V0apIfEUjZXrY,30915
182
- fastworkflow-2.17.20.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
183
- fastworkflow-2.17.20.dist-info/entry_points.txt,sha256=m8HqoPzCyaZLAx-V5X8MJgw3Lx3GiPDlxNEZ7K-Gb-U,54
184
- fastworkflow-2.17.20.dist-info/RECORD,,
180
+ fastworkflow-2.17.21.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
181
+ fastworkflow-2.17.21.dist-info/METADATA,sha256=Hrr8NZ8MAfxPvbYWbb2ZQdIkIeXt6-M3KhWvvu2Gm3w,30915
182
+ fastworkflow-2.17.21.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
183
+ fastworkflow-2.17.21.dist-info/entry_points.txt,sha256=m8HqoPzCyaZLAx-V5X8MJgw3Lx3GiPDlxNEZ7K-Gb-U,54
184
+ fastworkflow-2.17.21.dist-info/RECORD,,