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 ?? "")

View File

@@ -1439,7 +1439,6 @@ export type ClawdbotConfig = {
bindings?: AgentBinding[];
broadcast?: BroadcastConfig;
audio?: AudioConfig;
routing?: RoutingConfig;
messages?: MessagesConfig;
commands?: CommandsConfig;
session?: SessionConfig;