You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/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),
});
},
});