Add Google Colab notebook, fix validators IPv6 crash#116
Merged
Conversation
…advisory - scripts/airecon_colab.ipynb: new notebook to deploy Ollama on Colab T4 GPU and connect AIRecon via Cloudflare Quick Tunnel (no account needed); includes zstd pre-install, model auto-selection per VRAM, keep-alive monitor, and ngrok fallback (skipped by default on Run All) - airecon/proxy/agent/validators.py: catch ValueError from urlparse on IPv6 tokens whose brackets were stripped by the scope-candidate normalizer, preventing a fatal agent loop crash on tool args that contain IPv6 addresses - airecon/proxy/filesystem.py: return a large-file advisory instead of truncated content when a file exceeds 200 KB / 1000 lines; advisory includes file stats, 10-line sample, and ready-to-run shell one-liners so the LLM processes raw recon data via execute/script rather than partial reads; list_files now counts lines for all text files and tags large ones with [LARGE — use shell/script] - README.md: add "Running Ollama on Google Colab" section with Colab badge, GPU→model table, setup steps, and limitations; update Remote Ollama config example to include tunnel use case
Centralize all imports to Cell 1 (one per line, no duplicates across cells). Remove unused json import. Move pyngrok import inside conditional block with noqa marker. Eliminates E401, F401, and F811 violations.
pikpikcu
added a commit
that referenced
this pull request
Jun 20, 2026
Add Google Colab notebook, fix validators IPv6 crash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.