mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 20:44:32 +00:00
refactor(commands): unify repeated ACP and routing flows
This commit is contained in:
@@ -66,8 +66,8 @@ export type BlockStreamingChunking = {
|
||||
flushOnParagraph?: boolean;
|
||||
};
|
||||
|
||||
function clampPositiveInteger(
|
||||
value: number | undefined,
|
||||
export function clampPositiveInteger(
|
||||
value: unknown,
|
||||
fallback: number,
|
||||
bounds: { min: number; max: number },
|
||||
): number {
|
||||
|
||||
Reference in New Issue
Block a user