mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-04 22:01:15 +00:00
refactor: remove ollama legacy shims
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
export type {
|
||||
OpenClawPluginApi,
|
||||
ProviderAuthContext,
|
||||
ProviderAuthMethodNonInteractiveContext,
|
||||
ProviderAuthResult,
|
||||
ProviderDiscoveryContext,
|
||||
} from "../plugins/types.js";
|
||||
|
||||
export {
|
||||
OLLAMA_DEFAULT_BASE_URL,
|
||||
OLLAMA_DEFAULT_MODEL,
|
||||
} from "../../extensions/ollama/src/defaults.js";
|
||||
|
||||
export {
|
||||
buildOllamaProvider,
|
||||
configureOllamaNonInteractive,
|
||||
ensureOllamaModelPulled,
|
||||
promptAndConfigureOllama,
|
||||
} from "../../extensions/ollama/src/setup.js";
|
||||
@@ -1,9 +0,0 @@
|
||||
export {
|
||||
buildAssistantMessage,
|
||||
convertToOllamaMessages,
|
||||
createConfiguredOllamaStreamFn,
|
||||
createOllamaStreamFn,
|
||||
OLLAMA_NATIVE_BASE_URL,
|
||||
parseNdjsonStream,
|
||||
resolveOllamaBaseUrlForRun,
|
||||
} from "../../extensions/ollama/src/stream.js";
|
||||
@@ -549,7 +549,6 @@ describe("plugin-sdk subpath exports", () => {
|
||||
"buildSglangProvider",
|
||||
"configureOpenAICompatibleSelfHostedProviderNonInteractive",
|
||||
]);
|
||||
expectSourceMentions("ollama-setup", ["buildOllamaProvider", "configureOllamaNonInteractive"]);
|
||||
expectSourceMentions("sandbox", ["registerSandboxBackend", "runPluginCommandWithTimeout"]);
|
||||
|
||||
expectSourceMentions("secret-input", [
|
||||
|
||||
Reference in New Issue
Block a user