mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 10:10:25 +00:00
fix(plugin-sdk): avoid recursive bundled facade loads
This commit is contained in:
@@ -18,13 +18,16 @@ export {
|
||||
SELF_HOSTED_DEFAULT_COST,
|
||||
SELF_HOSTED_DEFAULT_MAX_TOKENS,
|
||||
} from "../plugins/provider-self-hosted-setup.js";
|
||||
export { OLLAMA_DEFAULT_BASE_URL, OLLAMA_DEFAULT_MODEL } from "./ollama-surface.js";
|
||||
// Keep shared setup barrels off the generated plugin facades. Source-first
|
||||
// facade loading can otherwise recurse back into the same plugin while its
|
||||
// public surface is still evaluating.
|
||||
export { OLLAMA_DEFAULT_BASE_URL, OLLAMA_DEFAULT_MODEL } from "../../extensions/ollama/api.js";
|
||||
export {
|
||||
buildOllamaProvider,
|
||||
configureOllamaNonInteractive,
|
||||
ensureOllamaModelPulled,
|
||||
promptAndConfigureOllama,
|
||||
} from "./ollama-surface.js";
|
||||
} from "../../extensions/ollama/api.js";
|
||||
export {
|
||||
VLLM_DEFAULT_BASE_URL,
|
||||
VLLM_DEFAULT_CONTEXT_WINDOW,
|
||||
@@ -32,5 +35,5 @@ export {
|
||||
VLLM_DEFAULT_MAX_TOKENS,
|
||||
promptAndConfigureVllm,
|
||||
} from "../plugins/provider-vllm-setup.js";
|
||||
export { buildVllmProvider } from "./vllm.js";
|
||||
export { buildSglangProvider } from "./sglang.js";
|
||||
export { buildVllmProvider } from "../../extensions/vllm/api.js";
|
||||
export { buildSglangProvider } from "../../extensions/sglang/api.js";
|
||||
|
||||
Reference in New Issue
Block a user