@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
20 lines (19 loc) • 478 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AnthropicConfig = void 0;
class AnthropicConfig {
constructor(config, logger) {
this.config = config;
this.logger = logger;
}
get apiKey() {
return this.config.apiKey;
}
get model() {
return this.config.model;
}
getApiUrl() {
return 'https://api.anthropic.com/v1/messages';
}
}
exports.AnthropicConfig = AnthropicConfig;