Skip to content

Commit fd6d493

Browse files
committed
fix verbose assignment
1 parent 9d1d433 commit fd6d493

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

operate/models/apis.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@
3636

3737
# Load configuration
3838
config = Config()
39-
VERBOSE = config
39+
VERBOSE = config.verbose
4040

4141

4242
async def get_next_action(model, messages, objective, session_id):
4343
if VERBOSE:
4444
print("[Self-Operating Computer][get_next_action]")
45+
print("[Self-Operating Computer][get_next_action] VERBOSE", VERBOSE)
46+
print("[Self-Operating Computer][get_next_action] config", config)
4547
print("[Self-Operating Computer][get_next_action] model", model)
4648
if model == "gpt-4":
4749
return call_gpt_4_vision_preview(messages), None

0 commit comments

Comments
 (0)