Fix Go module imports and add dynamic Ollama model selection with N8N integration

- Fixed module path from github.com/deepblackcloud/bzzz to github.com/anthonyrawlins/bzzz
- Added dynamic Ollama model detection via /api/tags endpoint
- Implemented intelligent model selection through N8N webhook integration
- Added BZZZ_MODEL_SELECTION_WEBHOOK environment variable support
- Fixed GitHub assignee issue by using valid username instead of peer ID
- Added comprehensive model fallback mechanisms
- Updated all import statements across the codebase
- Removed duplicate systemd service file
- Added sandbox execution environment and type definitions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-07-14 20:26:24 +10:00
parent 1d03d6539b
commit 054fb67767
24 changed files with 1013 additions and 234 deletions

23
Dockerfile.sandbox Normal file
View File

@@ -0,0 +1,23 @@
# Use a standard Go development image as the base
FROM golang:1.21
# Install common development tools and security updates
RUN apt-get update && apt-get install -y \
build-essential \
git \
curl \
tree \
&& rm -rf /var/lib/apt/lists/*
# Create a non-root user for the agent to run as
RUN useradd -ms /bin/bash agent
# Set the working directory for the agent
WORKDIR /home/agent/work
# Switch to the non-root user
USER agent
# Keep the container alive
CMD ["sleep", "infinity"]