mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 04:47:03 -06:00
refactor(agents): hide model runtime policy types
This commit is contained in:
@@ -13,10 +13,10 @@ import { normalizeAgentId } from "../routing/session-key.js";
|
||||
import { listAgentEntries, resolveSessionAgentIds } from "./agent-scope.js";
|
||||
|
||||
/** Config surface that supplied a resolved model runtime policy. */
|
||||
export type ModelRuntimePolicySource = "model" | "provider";
|
||||
type ModelRuntimePolicySource = "model" | "provider";
|
||||
|
||||
/** Runtime policy plus the config surface that supplied it. */
|
||||
export type ResolvedModelRuntimePolicy = {
|
||||
type ResolvedModelRuntimePolicy = {
|
||||
policy?: AgentRuntimePolicyConfig;
|
||||
source?: ModelRuntimePolicySource;
|
||||
matchedProvider?: string;
|
||||
|
||||
Reference in New Issue
Block a user