Merge pull request #176 from aliasrobotics/parallel_input

Fix parallel input bug
This commit is contained in:
PRT 2025-05-30 12:25:02 +02:00 committed by GitHub
commit 11bcd0db6a
1 changed files with 3 additions and 2 deletions

View File

@ -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