Files
openclaw/extensions/anthropic-vertex/setup-api.ts

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),
});
},
});