mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-05 10:41:38 +00:00
9 lines
368 B
TypeScript
9 lines
368 B
TypeScript
import type { OpenClawConfig } from "../config/types.openclaw.js";
|
|
import { fullContextToolPayloadRedactionState } from "./redact-internal-state.js";
|
|
|
|
type LoggingConfig = OpenClawConfig["logging"];
|
|
|
|
export function withFullContextToolPayloadRedaction(loggingConfig: LoggingConfig): LoggingConfig {
|
|
return fullContextToolPayloadRedactionState.mark(loggingConfig);
|
|
}
|