mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-27 00:17:29 +00:00
refactor: move plugin setup and memory capabilities to registries
This commit is contained in:
18
extensions/google/setup-api.ts
Normal file
18
extensions/google/setup-api.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
||||
import { normalizeGoogleProviderConfig } from "./api.js";
|
||||
|
||||
export default definePluginEntry({
|
||||
id: "google",
|
||||
name: "Google Setup",
|
||||
description: "Lightweight Google setup hooks",
|
||||
register(api) {
|
||||
api.registerProvider({
|
||||
id: "google",
|
||||
label: "Google AI Studio",
|
||||
hookAliases: ["google-antigravity", "google-vertex"],
|
||||
auth: [],
|
||||
normalizeConfig: ({ provider, providerConfig }) =>
|
||||
normalizeGoogleProviderConfig(provider, providerConfig),
|
||||
});
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user