Maharshi Gor
commited on
Commit
·
b6a16f6
1
Parent(s):
0f6850b
bugfix: remove sys_prompt from prompt
Browse files
src/workflows/executors.py
CHANGED
@@ -205,8 +205,8 @@ def execute_model_step(
|
|
205 |
processed_inputs = create_processed_inputs(model_step, available_vars)
|
206 |
|
207 |
# Construct the input prompt for the model
|
208 |
-
input_str = "
|
209 |
-
step_result = f"
|
210 |
|
211 |
# Define the expected output fields and their types
|
212 |
fields = {
|
|
|
205 |
processed_inputs = create_processed_inputs(model_step, available_vars)
|
206 |
|
207 |
# Construct the input prompt for the model
|
208 |
+
input_str = "\n".join(f"{k}: {v}" for k, v in processed_inputs.items())
|
209 |
+
step_result = f"Inputs: \n{input_str}"
|
210 |
|
211 |
# Define the expected output fields and their types
|
212 |
fields = {
|