Skip to content
Merged

V3 #2

Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
andreashappe committed Sep 14, 2023
commit 6c95be850ebf39e9f0b5ea5d6746f6c84793d1b2
6 changes: 3 additions & 3 deletions wintermute.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@

db.add_log_query(run_id, round, cmd, result, answer)

# output the command and it's result
# output the command and its result
console.print(Panel(result, title=cmd))

# analyze the result..
with console.status("[bold green]Analyze it's result...") as status:
with console.status("[bold green]Analyze its result...") as status:
answer = llm_gpt.analyze_result(cmd, result)
db.add_log_analyze_response(run_id, round, cmd, answer.result["reason"], answer)

Expand All @@ -91,4 +91,4 @@

# finish round and commit logs to storage
db.commit()
round += 1
round += 1