Skip to content

Add Google Colab notebook, fix validators IPv6 crash#116

Merged
pikpikcu merged 3 commits into
mainfrom
pikpikcu/airecon
Apr 23, 2026
Merged

Add Google Colab notebook, fix validators IPv6 crash#116
pikpikcu merged 3 commits into
mainfrom
pikpikcu/airecon

Conversation

@pikpikcu

Copy link
Copy Markdown
Owner

No description provided.

…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 pikpikcu merged commit 4b81a73 into main Apr 23, 2026
4 checks passed
pikpikcu added a commit that referenced this pull request Jun 20, 2026
Add Google Colab notebook, fix validators IPv6 crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant