refactor(agents): hide model runtime policy types

This commit is contained in:
Vincent Koc
2026-06-17 09:22:00 +08:00
parent 5b077d549e
commit 5c62ed8db1
+2 -2
View File
@@ -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;