mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 21:01:43 +03:00
fix: harden session caching and topic transcripts
This commit is contained in:
@@ -31,15 +31,6 @@ export type SessionSendPolicyConfig = {
|
||||
rules?: SessionSendPolicyRule[];
|
||||
};
|
||||
|
||||
export type SessionCacheConfig = {
|
||||
/** Enable session store caching (default: true). Set to false to disable. */
|
||||
enabled?: boolean;
|
||||
/** Session store cache TTL in milliseconds (default: 45000 = 45s). Set to 0 to disable. */
|
||||
storeTtlMs?: number;
|
||||
/** SessionManager cache TTL in milliseconds (default: 45000 = 45s). Set to 0 to disable. */
|
||||
managerTtlMs?: number;
|
||||
};
|
||||
|
||||
export type SessionConfig = {
|
||||
scope?: SessionScope;
|
||||
resetTriggers?: string[];
|
||||
@@ -50,8 +41,6 @@ export type SessionConfig = {
|
||||
typingMode?: TypingMode;
|
||||
mainKey?: string;
|
||||
sendPolicy?: SessionSendPolicyConfig;
|
||||
/** Session caching configuration. */
|
||||
cache?: SessionCacheConfig;
|
||||
agentToAgent?: {
|
||||
/** Max ping-pong turns between requester/target (0–5). Default: 5. */
|
||||
maxPingPongTurns?: number;
|
||||
|
||||
Reference in New Issue
Block a user