-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support running multiple bash commands and compile in one query #736
Conversation
/gcbrun exp -n dg -ag |
Reports: Part of the lower performance of |
@@ -63,6 +62,11 @@ def _parse_tag(self, response: str, tag: str) -> str: | |||
match = re.search(rf'<{tag}>(.*?)</{tag}>', response, re.DOTALL) | |||
return match.group(1).strip() if match else '' | |||
|
|||
def _parse_tags(self, response: str, tag: str) -> list[str]: | |||
"""Parses the XML-style tags from LLM response.""" | |||
matches = re.findall(rf'<{tag}>(.*?)</{tag}>', response, re.DOTALL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future work: Should we experiment with JSON formatting at some point? Let's create an issue if so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: #743
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg -ag |
1 similar comment
/gcbrun exp -n dg -ag |
The report looks good: 28/38 I will remove the |
This reverts commit 33e22ff.
/gcbrun skip |
No description provided.