mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-05 17:21:34 +00:00
User-facing name is now OpenClaw (the system speaks); internal code name is system-agent. Gateway methods crestodian.* -> openclaw.chat/openclaw.setup.*, agent tool -> openclaw, reserved agent ids openclaw + retired crestodian. openclaw setup routes: onboarding flags -> onboard, -m/--yes -> system agent, bare configured interactive -> OpenClaw chat, unconfigured -> onboarding. Hidden crestodian CLI and /crestodian TUI aliases kept; docs moved to docs/cli/openclaw.md with redirect stub. macOS/Android strings in lockstep. Refs #107237
11 lines
408 B
TypeScript
11 lines
408 B
TypeScript
const SETUP_INFERENCE_TEST_MAX_TOKENS = 32;
|
|
|
|
/** Plugin and auto-selected harnesses may not support OpenClaw's request-scoped token cap. */
|
|
export function resolveSetupInferenceProbeStreamParams(agentHarnessId?: string): {
|
|
streamParams?: { maxTokens: number };
|
|
} {
|
|
return !agentHarnessId || agentHarnessId === "openclaw"
|
|
? { streamParams: { maxTokens: SETUP_INFERENCE_TEST_MAX_TOKENS } }
|
|
: {};
|
|
}
|