fastworkflow 2.17.14__py3-none-any.whl → 2.17.15__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.
@@ -186,7 +186,7 @@ def _execute_workflow_query(command: str, chat_session_obj: fastworkflow.ChatSes
186
186
 
187
187
  # Clean up the context flag after command execution
188
188
  workflow = chat_session_obj.get_active_workflow()
189
- if workflow and "is_user_command" in workflow.context:
189
+ if "is_user_command" in workflow.context:
190
190
  del workflow.context["is_user_command"]
191
191
 
192
192
  return response_text
@@ -213,6 +213,11 @@ def _ask_user_tool(clarification_request: str, chat_session_obj: fastworkflow.Ch
213
213
  }
214
214
  f.write(json.dumps(agent_user_dialog, ensure_ascii=False) + "\n")
215
215
 
216
+ # store the message as 'raw_user_input' in workflow_context. This is useful in agentic mode
217
+ # when command implementations want to get the exact message that user entered (no refinement)
218
+ workflow = chat_session_obj.get_active_workflow()
219
+ workflow.context['raw_user_message'] = user_query
220
+
216
221
  return build_query_with_next_steps(user_query, chat_session_obj, with_agent_inputs_and_trajectory = True)
217
222
 
218
223
  def initialize_workflow_tool_agent(chat_session: fastworkflow.ChatSession, max_iters: int = 25):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastworkflow
3
- Version: 2.17.14
3
+ Version: 2.17.15
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
@@ -176,10 +176,10 @@ fastworkflow/utils/react.py,sha256=eROhiG0TQACLqa-4aVQB36kr4KsnqqQTQjqQdMpImCs,1
176
176
  fastworkflow/utils/signatures.py,sha256=uv1HxkVK8yzu6xt0ci8RUSgQW0Njaz22YuJVO_aNUEM,33393
177
177
  fastworkflow/utils/startup_progress.py,sha256=9icSdnpFAxzIq0sUliGpNaH0Efvrt5lDtGfURV5BD98,3539
178
178
  fastworkflow/workflow.py,sha256=37gn7e3ct-gdGw43zS6Ab_ADoJJBO4eJW2PywfUpjEg,18825
179
- fastworkflow/workflow_agent.py,sha256=UKjRTgnO9j7UNZVLPM8_N_g5anrPuJ6sJU8bWO_Z4EE,18434
179
+ fastworkflow/workflow_agent.py,sha256=LRPdl-3lDRPx8pQtK202JWGYMYBNz5Mruy630fCBCk0,18725
180
180
  fastworkflow/workflow_inheritance_model.py,sha256=Pp-qSrQISgPfPjJVUfW84pc7HLmL2evuq0UVIYR51K0,7974
181
- fastworkflow-2.17.14.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
182
- fastworkflow-2.17.14.dist-info/METADATA,sha256=K_v08Sjjy4Jo3kfFVA6WYBQ0udXtTcgC5FnXex7WZa0,30635
183
- fastworkflow-2.17.14.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
184
- fastworkflow-2.17.14.dist-info/entry_points.txt,sha256=m8HqoPzCyaZLAx-V5X8MJgw3Lx3GiPDlxNEZ7K-Gb-U,54
185
- fastworkflow-2.17.14.dist-info/RECORD,,
181
+ fastworkflow-2.17.15.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
182
+ fastworkflow-2.17.15.dist-info/METADATA,sha256=eSes8rfVIc07_sUE8CPJuhCDyHtpcT2ze_4dGmVmkeE,30635
183
+ fastworkflow-2.17.15.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
184
+ fastworkflow-2.17.15.dist-info/entry_points.txt,sha256=m8HqoPzCyaZLAx-V5X8MJgw3Lx3GiPDlxNEZ7K-Gb-U,54
185
+ fastworkflow-2.17.15.dist-info/RECORD,,