Skip to content

Commit

Permalink
Update message assignment in engineer.py
Browse files Browse the repository at this point in the history
The previous code was assigning the entire message object to dbs.input["prompt"]. This commit changes that to assign only the 'prompt' field from the message object. This ensures that the correct data is being used in subsequent operations.
  • Loading branch information
rminchev1 committed Oct 4, 2023
1 parent e99d1e4 commit 727c868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast-api/engineer.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run_engineer_improve(app_name, message, current_user, steps_config):

ai, dbs = initialize(app_name, current_user, app_base_path)

dbs.input["prompt"] = message
dbs.input["prompt"] = message['prompt']

set_improved_file_list(dbs)

Expand Down

0 comments on commit 727c868

Please sign in to comment.