From 5c62ed8db1fa28cff2f3d5d6d1b63dd913febb80 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Wed, 17 Jun 2026 09:22:00 +0800 Subject: [PATCH] refactor(agents): hide model runtime policy types --- src/agents/model-runtime-policy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agents/model-runtime-policy.ts b/src/agents/model-runtime-policy.ts index 351b961112fc..b671bf29a27c 100644 --- a/src/agents/model-runtime-policy.ts +++ b/src/agents/model-runtime-policy.ts @@ -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;