Skip to content

Commit

Permalink
fixed roles parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
madox2 committed Dec 12, 2024
1 parent 3cdf03b commit 6554bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def load_role_config(role):
}

def parse_roles(prompt):
chunks = prompt.split()
chunks = re.split(r'[ :]+', prompt)
roles = []
for chunk in chunks:
if not chunk.startswith("/"):
Expand Down

0 comments on commit 6554bf7

Please sign in to comment.