Closed
Conversation
Add Telegram as an input/output channel via Grammy, alongside WhatsApp. Supports TELEGRAM_ONLY mode to run without WhatsApp entirely. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add rootless Docker compatibility (UID remapping, world-writable mounts). Add GH_TOKEN and LINEAR_API_KEY to container secrets for CLI auth. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Layered Dockerfile.custom extends base image without modifying upstream. Add docs and /update-from-upstream skill for managing updates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add DEFAULT_MODEL env var and runtime /model Telegram command for switching the agent SDK model without restarting. Model state persists in the DB across restarts. Closes GAR-36 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 4, 2026
|
Why is it closed? I have just implemented the same in my customized build, wonder if this feature should be available by default |
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.
Summary
DEFAULT_MODELenv var in.envto set the agent model globally/modelTelegram command to view/change model at runtime (persists across restarts)sonnet,opus,haikuquery()Closes GAR-36
Files Changed
src/config.ts— readDEFAULT_MODELfrom.envsrc/index.ts— model state management,getModel()/setModel()src/channels/telegram.ts—/modelcommand handlersrc/container-runner.ts—model?: stringonContainerInputcontainer/agent-runner/src/index.ts— pass model to SDKquery().env.example—DEFAULT_MODEL=placeholderdocs/CUSTOM-CONTAINER.md— document model selection.claude/skills/update-from-upstream/SKILL.md— merge check for model configTest plan
DEFAULT_MODEL=claude-sonnet-4-6in.env, restart — agents use Sonnet/modelshows current model/model opusswitches to Opus/model defaultresets to.envvalue🤖 Generated with Claude Code