feat(openclaw): register suggested models to allowlist on provider add

When adding an OpenClaw provider with suggestedDefaults, automatically
merge its model catalog into the allowlist and set the default model
if not already configured.
This commit is contained in:
Jason
2026-02-06 11:28:22 +08:00
parent c431a86064
commit 02f9f2e3b8
7 changed files with 92 additions and 11 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export { skillsApi } from "./skills";
export { usageApi } from "./usage";
export { vscodeApi } from "./vscode";
export { proxyApi } from "./proxy";
export { sessionsApi } from "./sessions";
export { openclawApi } from "./openclaw";
export * as configApi from "./config";
export type { ProviderSwitchEvent } from "./providers";
export type { Prompt } from "./prompts";