You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/docs
Sebastian d0a4cce41e feat: add dynamic template variables to messages.responsePrefix (#923)
Adds support for template variables in `messages.responsePrefix` that
resolve dynamically at runtime with the actual model used (including
after fallback).

Supported variables (case-insensitive):
- {model} - short model name (e.g., "claude-opus-4-5", "gpt-4o")
- {modelFull} - full model identifier (e.g., "anthropic/claude-opus-4-5")
- {provider} - provider name (e.g., "anthropic", "openai")
- {thinkingLevel} or {think} - thinking level ("high", "low", "off")
- {identity.name} or {identityName} - agent identity name

Example: "[{model} | think:{thinkingLevel}]" → "[claude-opus-4-5 | think:high]"

Variables show the actual model used after fallback, not the intended
model. Unresolved variables remain as literal text.

Implementation:
- New module: src/auto-reply/reply/response-prefix-template.ts
- Template interpolation in normalize-reply.ts via context provider
- onModelSelected callback in agent-runner-execution.ts
- Updated all 6 provider message handlers (web, signal, discord,
  telegram, slack, imessage)
- 27 unit tests covering all variables and edge cases
- Documentation in docs/gateway/configuration.md and JSDoc

Fixes #923
10 months ago
..
_layouts chore: normalize Clawdbot naming 11 months ago
assets docs: add X showcases 10 months ago
automation docs: complete channels rename sweep 10 months ago
channels docs: document DM history limits (#883) 10 months ago
cli fix(telegram): wire delete action for message tool (#903) - thanks @sleontenko 10 months ago
concepts docs: add context concept page 10 months ago
experiments refactor!: rename chat providers to channels 10 months ago
gateway feat: add dynamic template variables to messages.responsePrefix (#923) 10 months ago
images docs: add group flow diagram 11 months ago
install fix: restore docker binds and PATH in sandbox exec (#873) 10 months ago
nodes docs: complete channels rename sweep 10 months ago
platforms chore: prep 2026.1.13 release 10 months ago
plugins docs(voice-call): expand plugin guide 10 months ago
providers docs: clarify Claude CLI auth mode 10 months ago
refactor docs: complete channels rename sweep 10 months ago
reference chore: allow install smoke previous override 10 months ago
start docs: clarify Claude CLI auth mode 10 months ago
tools feat: add /context prompt breakdown 10 months ago
web docs: complete channels rename sweep 10 months ago
CNAME chore: rename project to clawdbot 11 months ago
_config.yml refactor!: rename chat providers to channels 10 months ago
bedrock.md Deps: update Pi + Vitest and add Bedrock docs 10 months ago
broadcast-groups.md docs: complete channels rename sweep 10 months ago
compaction.md Agents: safeguard compaction summarization 10 months ago
debugging.md feat: improve gateway services and auto-reply commands 11 months ago
docs.json docs: add context concept page 10 months ago
environment.md feat: allow inline env vars in config 11 months ago
index.md docs: complete channels rename sweep 10 months ago
logging.md docs: complete channels rename sweep 10 months ago
multi-agent-sandbox-tools.md feat(tools): add tool profiles and group shorthands 10 months ago
plugin.md docs: add messaging channel guide 10 months ago
scripts.md feat(models): add oauth auth health 11 months ago
testing.md chore: standardize Claude Code CLI naming (#915) 10 months ago
token-use.md docs: add context concept page 10 months ago
tui.md refactor: centralize cli timeout parsing 11 months ago
whatsapp-clawd.jpg Add WhatsApp screenshot to claude-config.md 12 months ago