File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ def get_user_message(self) -> HumanMessage:
158
158
step_info_description = ''
159
159
160
160
time_str = datetime .now ().strftime ("%Y-%m-%d %H:%M" )
161
- step_info_description += "Current date and time: {time_str}"
161
+ step_info_description += f "Current date and time: { time_str } "
162
162
163
163
elements_text = self .state .element_tree .clickable_elements_to_string (include_attributes = self .include_attributes )
164
164
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ async def ainvoke(
68
68
69
69
response = self .client .chat .completions .create (
70
70
model = self .model_name ,
71
- messages = messages
71
+ messages = message_history
72
72
)
73
73
74
74
reasoning_content = response .choices [0 ].message .reasoning_content
You can’t perform that action at this time.
0 commit comments