mirror of https://github.com/openclaw/openclaw.git
* fix(telegram): enable HTML formatting for model switch messages The model switch confirmation message was displaying raw Markdown (**text**) instead of bold formatting because parse_mode was not set. Changes: - Add optional extra parameter to editMessageWithButtons for parse_mode - Change format from Markdown ** to HTML <b> tags - Pass parse_mode: 'HTML' when editing model switch message Fixes the issue where model names appeared as **provider/model** instead of bold text in Telegram. * fix(telegram): escape HTML entities in model switch confirmation Add defensive `escapeHtml` helper to sanitize `selection.provider` and `selection.model` before interpolating them into the HTML callback message. This prevents potential API rejection (HTTP 400) if future provider or model names contain `<`, `>`, or `&`. Addresses review feedback on unescaped HTML interpolation. * test(telegram): cover HTML model switch confirmation --------- Co-authored-by: Frank Yang <frank.ekn@gmail.com> |
||
|---|---|---|
| .. | ||
| acpx | ||
| amazon-bedrock | ||
| anthropic | ||
| anthropic-vertex | ||
| bluebubbles | ||
| brave | ||
| browser | ||
| byteplus | ||
| chutes | ||
| cloudflare-ai-gateway | ||
| copilot-proxy | ||
| deepgram | ||
| deepseek | ||
| device-pair | ||
| diagnostics-otel | ||
| diffs | ||
| discord | ||
| duckduckgo | ||
| elevenlabs | ||
| exa | ||
| fal | ||
| feishu | ||
| firecrawl | ||
| github-copilot | ||
| googlechat | ||
| groq | ||
| huggingface | ||
| image-generation-core | ||
| imessage | ||
| irc | ||
| kilocode | ||
| kimi-coding | ||
| line | ||
| litellm | ||
| llm-task | ||
| lobster | ||
| matrix | ||
| mattermost | ||
| media-understanding-core | ||
| memory-core | ||
| memory-lancedb | ||
| microsoft | ||
| microsoft-foundry | ||
| minimax | ||
| mistral | ||
| modelstudio | ||
| moonshot | ||
| msteams | ||
| nextcloud-talk | ||
| nostr | ||
| nvidia | ||
| ollama | ||
| open-prose | ||
| openai | ||
| opencode | ||
| opencode-go | ||
| openrouter | ||
| openshell | ||
| perplexity | ||
| phone-control | ||
| qianfan | ||
| qqbot | ||
| searxng | ||
| sglang | ||
| shared | ||
| signal | ||
| slack | ||
| speech-core | ||
| stepfun | ||
| synology-chat | ||
| synthetic | ||
| talk-voice | ||
| tavily | ||
| telegram | ||
| thread-ownership | ||
| tlon | ||
| together | ||
| twitch | ||
| venice | ||
| vercel-ai-gateway | ||
| vllm | ||
| voice-call | ||
| volcengine | ||
| xai | ||
| xiaomi | ||
| zai | ||
| zalo | ||
| zalouser | ||
| .npmignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||