Split social-read model from local reply lane

This commit is contained in:
Meta Vens 2026-05-03 00:46:05 +01:00
commit 0e73ad6e18
8 changed files with 62 additions and 3 deletions

View file

@ -762,7 +762,7 @@ async function inferSituationalSocialRead(
channelName: options.guildContext.channelName ?? null,
promptExcerpt: truncate(options.prompt, 280),
recentMessageCount: input.recentMessages.length,
model: options.config.localLlm.ollamaModel,
model: options.config.localLlm.socialReadOllamaModel,
summary: read.summary,
roomTone: read.roomTone,
speakerCurrentRead: read.speakerCurrentRead,
@ -784,7 +784,7 @@ async function inferSituationalSocialRead(
channelId: options.guildContext.channelId,
channelName: options.guildContext.channelName ?? null,
promptExcerpt: truncate(options.prompt, 280),
model: options.config.localLlm.ollamaModel,
model: options.config.localLlm.socialReadOllamaModel,
errorMessage:
error instanceof Error ? error.message : "Unexpected situational social read failure.",
},

View file

@ -150,7 +150,7 @@ export async function startBot(): Promise<void> {
const contextBuilder = new ContextBuilder();
const situationalSocialReadInferer = new OllamaSituationalSocialReadInferer({
ollamaBaseUrl: config.localLlm.ollamaBaseUrl,
ollamaModel: config.localLlm.ollamaModel,
ollamaModel: config.localLlm.socialReadOllamaModel,
ollamaTimeoutMs: config.localLlm.ollamaTimeoutMs,
ollamaKeepAlive: config.localLlm.ollamaKeepAlive,
ollamaNumCtx: config.localLlm.ollamaNumCtx,