Commit Graph
4 Commits
Author SHA1 Message Date
marcocosta10000 2717910bc7 chore(contexts): append SARTASA bus schedule conversation to daily log
Add user inquiry about Margaridas bus times and assistant response
with schedule details to the 2026-10-27 conversation log.
2026-10-27 20:17:41 -03:00
marcocosta10000 2323a2d1ab fix(fetch): improve SPA rendering and URL normalization in browser scraper
Increase hydration wait to 5s and scroll the page three times to
trigger lazy-loaded content before extracting text. Prefer body text
when it yields more content than main-content selectors.

Normalize URLs to https and strip the www. prefix for consistent
deduplication, and allow bare domains with no trailing path to match
the extraction pattern.

Also update agent/user profiles with site reputation and price
comparison guidance, and append conversation logs for 2026-10-27.
2026-10-27 20:14:50 -03:00
marcocosta10000 197a54e41d gffrt 2026-10-27 17:51:34 -03:00
marcocosta10000 752bb94d48 feat(agent): detect and scrape explicitly requested URLs
Add URL visit detection that triggers a direct page fetch when the
user asks to enter, open, analyze, or read a site along with a URL.
Extend URL extraction to match bare domains (e.g. example.com.br),
deduplicate results, and normalize missing protocol prefixes. Update
the system prompt to instruct the model to treat visited webpage
content as the primary source when [WEBSITE CONTENT FROM ...] tags
are present.

Also rotate conversation context logs for 2026-10-27.
2026-10-27 17:29:08 -03:00