parse_markdown_citations now strips fenced and inline code before
harvesting citations, mirroring the frontend's stripCodeSegments. A URL
shown only as a code example (a `git clone` command, or an inline
`https://` span) is no longer surfaced as a source chip. Also exclude
backticks from the bare-URL body so a malformed "https://`" can never be
captured. Fixes the orphan/broken Web chips seen in the repo-cloning
answer (LangSmith trace 019f004f).
Flip the url_context toggle to default off (active: False); enabling it
still flips keep_unresolved_sources on per turn, so unresolved cited URLs
only become low-trust Web chips when the user opts in. Document the
enabledTools semantics for direct API callers (in api.py and the manual
e2e runbook).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Renamed 'scripts' folder to 'app', removed mongo and instructor libraries
- Renamed the example environment file to reflect the FastAPI backend usage.
- Removed the Gradio UI and associated files, consolidating the project to a single Next.js frontend served by FastAPI.
- Added a pre-commit configuration for local linting and formatting.
- Updated AGENTS.md and README.md to clarify the architecture and deployment process, emphasizing the new structure and removing references to the Gradio UI.
- Introduced CI workflows for automated linting, testing, and deployment to Hugging Face Spaces.