feat: first pass, bedrock chat. note: AgentClient is returning agents as conversation.endpoint

This commit is contained in:
Danny Avila 2024-08-31 22:16:11 -04:00
parent 120a6a55fb
commit 60ee12d3e8
No known key found for this signature in database
GPG key ID: 2DD9CC89B9B50364
20 changed files with 270 additions and 23 deletions

View file

@ -0,0 +1,16 @@
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;