LibreChat/api/server/services
Danny Avila e293ff63f9
🪨 feat: AWS Bedrock Default Credentials Chain (#4038)
* feat: use AWS cascading default providers if credentials are omitted

Environment variables exposed via process.env
SSO credentials from token cache
Web identity token credentials
Shared credentials and config ini files
The EC2/ECS Instance Metadata Service

The default credential provider will invoke one provider at a time and only continue to the next if no credentials have been located. For example, if the process finds values defined via the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables, the files at ~/.aws/credentials and ~/.aws/config will not be read, nor will any messages be sent to the Instance Metadata Service.

* fix: usage check in OpenAIClient

* refactor: Improve usage check in OpenAIClient
2024-09-13 08:53:50 -04:00
..
Config 🪨 feat: AWS Bedrock Default Credentials Chain (#4038) 2024-09-13 08:53:50 -04:00
Endpoints 🪨 feat: AWS Bedrock Default Credentials Chain (#4038) 2024-09-13 08:53:50 -04:00
Files 🪨 feat: AWS Bedrock support (#3935) 2024-09-09 12:06:59 -04:00
Runs ⚙️ feat: Adjust Rate of Stream Progress (#3244) 2024-07-17 10:47:17 -04:00
start 🔒 refactor: Apply interface settings to all Roles (#3967) 2024-09-09 20:15:08 -04:00
Threads 💾 feat: Anthropic Prompt Caching (#3670) 2024-08-17 03:24:09 -04:00
ActionService.js 🪨 feat: AWS Bedrock support (#3935) 2024-09-09 12:06:59 -04:00
ActionService.spec.js 🤖 feat: OpenAI Assistants v2 (initial support) (#2781) 2024-05-19 12:56:55 -04:00
AppService.interface.spec.js 🧠 feat: Prompt caching switch, prompt query params; refactor: static cache, prompt/markdown styling, trim copied code, switch new chat to convo URL (#3784) 2024-08-26 15:34:46 -04:00
AppService.js 🪨 feat: AWS Bedrock support (#3935) 2024-09-09 12:06:59 -04:00
AppService.spec.js 🧠 feat: Prompt caching switch, prompt query params; refactor: static cache, prompt/markdown styling, trim copied code, switch new chat to convo URL (#3784) 2024-08-26 15:34:46 -04:00
AssistantService.js 🤖 feat: OpenAI Assistants v2 (initial support) (#2781) 2024-05-19 12:56:55 -04:00
AuthService.js 🔑 fix(AuthService): properly handle reading and deletion of password reset token (#3697) 2024-08-19 17:55:33 -04:00
isDomainAllowed.js 🧪 refactor(isDomainAllowed): change directory, add tests (#2539) 2024-04-25 13:14:07 -04:00
isDomainAllowed.spec.js 🧪 refactor(isDomainAllowed): change directory, add tests (#2539) 2024-04-25 13:14:07 -04:00
ModelService.js 🪨 feat: AWS Bedrock support (#3935) 2024-09-09 12:06:59 -04:00
ModelService.spec.js 🪨 feat: AWS Bedrock support (#3935) 2024-09-09 12:06:59 -04:00
PluginService.js 🕸️ refactor: Migrate from crypto to Web Crypto API (#3357) 2024-08-04 23:59:45 -04:00
signPayload.js chore: remove jose as Bun now supports JWT 🍞 (#1167) 2023-11-12 00:44:46 -05:00
Tokenizer.js 🚧 chore: merge latest dev build to main repo (#3844) 2024-08-31 16:33:51 -04:00
ToolService.js 🚧 chore: merge latest dev build to main repo (#3844) 2024-08-31 16:33:51 -04:00
UserService.js 🕸️ refactor: Migrate from crypto to Web Crypto API (#3357) 2024-08-04 23:59:45 -04:00