mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
16 lines
466 B
JavaScript
16 lines
466 B
JavaScript
const { EModelEndpoint } = require('librechat-data-provider');
|
|
const AgentClient = require('~/server/controllers/agents/client');
|
|
const { logger } = require('~/config');
|
|
|
|
class BedrockClient extends AgentClient {
|
|
constructor(options = {}) {
|
|
super(options);
|
|
this.options.endpoint = EModelEndpoint.bedrock;
|
|
}
|
|
|
|
setOptions(options) {
|
|
logger.info('[api/server/controllers/bedrock/client.js] setOptions', options);
|
|
}
|
|
}
|
|
|
|
module.exports = BedrockClient;
|