mirror of https://github.com/aliasrobotics/cai.git
Fix parallel input bug
This commit is contained in:
parent
e5a00afeef
commit
1bde081d6f
|
|
@ -98,8 +98,9 @@ class ParallelCommand(Command):
|
|||
model = args[i + 1]
|
||||
i += 2
|
||||
elif args[i] == "--prompt" and i + 1 < len(args):
|
||||
prompt = args[i + 1]
|
||||
i += 2
|
||||
# Capture all remaining arguments as the prompt
|
||||
prompt = " ".join(args[i + 1:])
|
||||
break # Stop parsing after --prompt since we take everything after it
|
||||
else:
|
||||
i += 1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue