|
- Add flake.nix with nixos-unstable nixpkgs, devShell and slopbot package
- Add flake.lock
- Update .envrc to 'use flake .'
- Update slopbot.service: use 'nix run' instead of nix-shell, remove
broken sandbox options (ProtectHome, InaccessiblePaths, ProtectSystem,
ReadOnlyPaths, ReadWritePaths, PrivateTmp) that block nix store access
- Delete shell.nix
- Add 'result' to .gitignore
- Restore openai to requirements.txt (was accidentally dropped)
|
|
- Detect @**slop** mentions via MENTION_RE regex
- Agentic loop (MAX_ITER=5): LLM decides when to call kagi_search
- Routing: Parasail primary (model discovery), Ollama qwen2.5:3b fallback
- kagi_search tool: hits Kagi API, returns top-3 snippet results
- Tickers appended to LLM reply when @mention includes $TICKER
- Logging: mention detected, tool calls, Kagi result count, backend used, response
- shell.nix: added openai + requests packages
- requirements.txt: openai>=1.0.0, requests>=2.28.0
|