fix(messages): restore explicit responsePrefix default

This commit is contained in:
Peter Steinberger
2026-01-09 19:18:30 +00:00
parent 237480ed9b
commit 72b0777341
7 changed files with 14 additions and 15 deletions

View File

@@ -47,11 +47,11 @@ export function resolveMessagePrefix(
export function resolveResponsePrefix(
cfg: ClawdbotConfig,
agentId: string,
_agentId: string,
): string | undefined {
const configured = cfg.messages?.responsePrefix;
if (configured !== undefined) return configured;
return resolveIdentityNamePrefix(cfg, agentId);
return undefined;
}
export function resolveEffectiveMessagesConfig(