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

@@ -4,7 +4,7 @@
### New Features and Changes
- Onboarding/Models: add first-class Z.AI (GLM) auth choice (`zai-api-key`) + `--zai-api-key` flag.
- Agents: add human-delay pacing between block replies (per-agent configurable). (#446) — thanks @tony-freedomology.
- Agents: add human-delay pacing between block replies (modes: off/natural/custom, per-agent configurable). (#446) — thanks @tony-freedomology.
### Fixes
- Agents/OpenAI: fix Responses tool-only → follow-up turn handling (avoid standalone `reasoning` items that trigger 400 “required following item”).

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;