From ae25c8d349358b70c299d055e674122284d9bf88 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 3 Mar 2026 11:13:12 -0800 Subject: [PATCH] fix: add code formatting to /model command output (#472) --- src/core/bot.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/bot.ts b/src/core/bot.ts index a42cf1a..db5e80f 100644 --- a/src/core/bot.ts +++ b/src/core/bot.ts @@ -644,15 +644,15 @@ export class LettaBot implements AgentSession { const current = await getAgentModel(agentId); const { models: recommendedModels } = await import('../utils/model-selection.js'); const lines = [ - `Current model: ${current || '(unknown)'}`, + `Current model: \`${current || '(unknown)'}\``, '', 'Recommended models:', ]; for (const m of recommendedModels) { const marker = m.handle === current ? ' (current)' : ''; - lines.push(` ${m.label} - ${m.handle}${marker}`); + lines.push(` ${m.label} - \`${m.handle}\`${marker}`); } - lines.push('', 'Use /model to switch.'); + lines.push('', 'Use `/model ` to switch.'); return lines.join('\n'); } default: