fix: finalize human delay config typing (#446) (thanks @tony-freedomology)
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
### New Features and Changes
|
### New Features and Changes
|
||||||
- Onboarding/Models: add first-class Z.AI (GLM) auth choice (`zai-api-key`) + `--zai-api-key` flag.
|
- 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
|
### Fixes
|
||||||
- Agents/OpenAI: fix Responses tool-only → follow-up turn handling (avoid standalone `reasoning` items that trigger 400 “required following item”).
|
- Agents/OpenAI: fix Responses tool-only → follow-up turn handling (avoid standalone `reasoning` items that trigger 400 “required following item”).
|
||||||
|
|||||||
@@ -132,7 +132,8 @@ export async function initSessionState(params: {
|
|||||||
let persistedModelOverride: string | undefined;
|
let persistedModelOverride: string | undefined;
|
||||||
let persistedProviderOverride: string | undefined;
|
let persistedProviderOverride: string | undefined;
|
||||||
|
|
||||||
const groupResolution = resolveGroupSessionKey(sessionCtxForState) ?? undefined;
|
const groupResolution =
|
||||||
|
resolveGroupSessionKey(sessionCtxForState) ?? undefined;
|
||||||
const isGroup =
|
const isGroup =
|
||||||
ctx.ChatType?.trim().toLowerCase() === "group" || Boolean(groupResolution);
|
ctx.ChatType?.trim().toLowerCase() === "group" || Boolean(groupResolution);
|
||||||
const triggerBodyNormalized = stripStructuralPrefixes(ctx.Body ?? "")
|
const triggerBodyNormalized = stripStructuralPrefixes(ctx.Body ?? "")
|
||||||
|
|||||||
@@ -1439,7 +1439,6 @@ export type ClawdbotConfig = {
|
|||||||
bindings?: AgentBinding[];
|
bindings?: AgentBinding[];
|
||||||
broadcast?: BroadcastConfig;
|
broadcast?: BroadcastConfig;
|
||||||
audio?: AudioConfig;
|
audio?: AudioConfig;
|
||||||
routing?: RoutingConfig;
|
|
||||||
messages?: MessagesConfig;
|
messages?: MessagesConfig;
|
||||||
commands?: CommandsConfig;
|
commands?: CommandsConfig;
|
||||||
session?: SessionConfig;
|
session?: SessionConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user