Skip to content

The agent that turns websites into APIs!

fix: update src/reverse_api/utils.py

kalil0321a6152a79f3e6
diff --git a/src/reverse_api/utils.py b/src/reverse_api/utils.py
index 54cc608..f2cd154 100644
--- a/src/reverse_api/utils.py
+++ b/src/reverse_api/utils.py
@@ -317,7 +317,7 @@ def parse_record_only_tag(prompt: str) -> tuple[str, bool]:
tuple: (cleaned_prompt, is_record_only)
"""
if not prompt:
- return prompt, False
+ return "", False
# Match @record-only anywhere in the prompt (case-insensitive)
pattern = r"@record-only\s*"