Fix broken CLI

This commit is contained in:
Cyber MacGeddon 2025-05-03 11:06:36 +01:00
parent b3c9dda57f
commit 7325427c65
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ async def question(
obj = json.loads(msg)
if obj["error"]:
if "error" in obj:
raise RuntimeError(obj["error"])
if obj["id"] != mid:

View file

@ -57,7 +57,7 @@ def main():
query(
url=args.url,
flow = args.flow_id,
flow_id = args.flow_id,
system=args.system[0],
prompt=args.prompt[0],
)