openclaw / src /gateway /agent-runtime-session-spawn-context.ts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
3144483 verified
Raw
History Blame Contribute Delete
644 Bytes
import type { ProviderModelRef } from "@openclaw/model-catalog-core/model-catalog-refs";
/** Automatic intent bound to the complete request before creation resolves aliases. */
export type AgentRuntimeSpawnModelAutoSelection = {
model: string;
/** Self-origin distinguishes configured selection from legacy fallback residue. */
hasFallbackOrigin: boolean;
};
export type AgentRuntimeSessionSpawnContext = {
completionOwnerSessionKey?: string;
resolvedModel?: ProviderModelRef;
inheritedToolPolicy: {
version: 1;
allow: string[];
deny: string[];
};
spawnModelAutoSelection?: AgentRuntimeSpawnModelAutoSelection;
};