fix: finalize human delay config typing (#446) (thanks @tony-freedomology)

This commit is contained in:
Peter Steinberger
2026-01-10 17:15:27 +01:00
parent ab994d2c63
commit fb03149df4
3 changed files with 3 additions and 3 deletions

View File

@@ -132,7 +132,8 @@ export async function initSessionState(params: {
let persistedModelOverride: string | undefined;
let persistedProviderOverride: string | undefined;
const groupResolution = resolveGroupSessionKey(sessionCtxForState) ?? undefined;
const groupResolution =
resolveGroupSessionKey(sessionCtxForState) ?? undefined;
const isGroup =
ctx.ChatType?.trim().toLowerCase() === "group" || Boolean(groupResolution);
const triggerBodyNormalized = stripStructuralPrefixes(ctx.Body ?? "")