mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 18:51:04 +00:00
17 lines
513 B
TypeScript
17 lines
513 B
TypeScript
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
import { resolveAnthropicVertexConfigApiKey } from "./region.js";
|
|
|
|
export default definePluginEntry({
|
|
id: "anthropic-vertex",
|
|
name: "Anthropic Vertex Setup",
|
|
description: "Lightweight Anthropic Vertex setup hooks",
|
|
register(api) {
|
|
api.registerProvider({
|
|
id: "anthropic-vertex",
|
|
label: "Anthropic Vertex",
|
|
auth: [],
|
|
resolveConfigApiKey: ({ env }) => resolveAnthropicVertexConfigApiKey(env),
|
|
});
|
|
},
|
|
});
|