Skip to content

Commit 5e7dd9c

Browse files
committed
demo vid for simple
1 parent 659deb6 commit 5e7dd9c

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
55
A fully async, multi-agent CLI assistant with a **custom adapter layer** for LLM providers — swap between local Ollama models, OpenAI, DeepSeek, and more by changing one line in `.env`.
66

7+
## Demo
8+
9+
### Simple Mode
10+
https://github.com/user-attachments/assets/cc1a5129-6ef1-464a-8006-0c5a77f2368b
11+
12+
---
13+
714
---
815

916
## Agent Architecture

tools/crawl.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ def _fetch_text_sync(url: str) -> str:
3030
resp.raise_for_status()
3131
except Exception as e:
3232
return f"Error fetching {url}: {e}"
33-
print(resp.headers)
3433
if "application/pdf" in resp.headers.get("Content-Type", ""):
3534
try:
3635
doc = fitz.open(stream=resp.content, filetype="pdf")
37-
return "\n\n".join(page.get_text() for page in doc)
36+
text = "\n\n".join(page.get_text() for page in doc).strip()
37+
if not text:
38+
return "This PDF appears to be scanned or image-based, and text extraction failed."
39+
return text
3840
except Exception as e:
3941
return f"Error reading PDF: {e}"
4042

0 commit comments

Comments
 (0)