feat: hire-an-agent should support --local-model to auto-configure llama agents #182
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#182
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Setting up a local-model agent (like dev-qwen) currently requires manually editing docker-compose.yml to add an
agents-llamaservice block, volumes, environment variables, and entrypoint override. This is error-prone and not reproducible bydisinto init.Current workflow
disinto hire-an-agent dev-qwen dev— creates Forgejo user + profile repo (works)agents-llamaservice with:entrypoint-llama.sh)ANTHROPIC_BASE_URLpointing to local llama-serverANTHROPIC_API_KEY=sk-no-key-requiredFORGE_TOKEN_OVERRIDEwith the new agent's tokenagent-data-llama,project-repos-llama)CLAUDE_CONFIG_DIR,POLL_INTERVAL, etc.docker compose up agents-llama -dDesired workflow
This should:
agents-llamaservice block in docker-compose.yml (or a compose override file)ANTHROPIC_BASE_URL,ANTHROPIC_API_KEY=sk-no-key-required,FORGE_TOKEN_OVERRIDE,CLAUDE_CONFIG_DIR,POLL_INTERVAL)entrypoint-llama.shas the entrypointDesign considerations
docker-compose.override.ymlwould keep the generated compose clean and survive re-runs ofdisinto init. This is probably the better approach.agents-dev-qwen) to support multiple local model agents side by side.Files
bin/disinto—hire_an_agent()functiondocker/agents/entrypoint-llama.sh— local model polling entrypointdocker-compose.yml— generated compose template ingenerate_compose()