feat: add agent mode (#81)

* chore: wip agent mode

* wip: add agent mode frontend

* wip: add agent mode frontend

* chore: cleanup code

* chore: cleanup code

* chore: cleanup code
This commit is contained in:
Jayden Pyles
2025-05-19 20:44:41 -05:00
committed by GitHub
parent d602d3330a
commit 5ebd96b62b
33 changed files with 869 additions and 54 deletions

View File

@@ -30,3 +30,16 @@ async def scrape_content(
await collect_media_utils(id, page)
return html
def clean_format_characters(text: str) -> str:
text = text.strip()
text = text.replace("\n", " ")
text = text.replace("\t", " ")
text = text.replace("\r", " ")
text = text.replace("\f", " ")
text = text.replace("\v", " ")
text = text.replace("\b", " ")
text = text.replace("\a", " ")
return text