refactor(agents): hide copilot routing constants · openclaw/openclaw@e209a56
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,12 +6,12 @@ import type { OpenClawConfig } from "../config/types.openclaw.js";
|
6 | 6 | import { resolveModelRuntimePolicy } from "./model-runtime-policy.js"; |
7 | 7 | import { parseModelRefProvider } from "./openai-routing.js"; |
8 | 8 | |
9 | | -export const GITHUB_COPILOT_PROVIDER_ID = "github-copilot"; |
| 9 | +const GITHUB_COPILOT_PROVIDER_ID = "github-copilot"; |
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Canonical id of the Copilot agent runtime plugin. |
13 | 13 | */ |
14 | | -export const COPILOT_RUNTIME_ID = "copilot"; |
| 14 | +const COPILOT_RUNTIME_ID = "copilot"; |
15 | 15 | |
16 | 16 | function parseModelRefId(model: string | undefined): string | undefined { |
17 | 17 | if (typeof model !== "string") { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。