Split social-read model from local reply lane
This commit is contained in:
parent
1c8303aa5a
commit
0e73ad6e18
8 changed files with 62 additions and 3 deletions
|
|
@ -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.",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue