LibreChat/api/utils
Danny Avila 583e978a82
feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316)
* feat: update PaLM icons

* feat: add additional google models

* POC: formatting inputs for Vertex AI streaming

* refactor: move endpoints services outside of /routes dir to /services/Endpoints

* refactor: shorten schemas import

* refactor: rename PALM to GOOGLE

* feat: make Google editable endpoint

* feat: reusable Ask and Edit controllers based off Anthropic

* chore: organize imports/logic

* fix(parseConvo): include examples in googleSchema

* fix: google only allows odd number of messages to be sent

* fix: pass proxy to AnthropicClient

* refactor: change `google` altName to `Google`

* refactor: update getModelMaxTokens and related functions to handle maxTokensMap with nested endpoint model key/values

* refactor: google Icon and response sender changes (Codey and Google logo instead of PaLM in all cases)

* feat: google support for maxTokensMap

* feat: google updated endpoints with Ask/Edit controllers, buildOptions, and initializeClient

* feat(GoogleClient): now builds prompt for text models and supports real streaming from Vertex AI through langchain

* chore(GoogleClient): remove comments, left before for reference in git history

* docs: update google instructions (WIP)

* docs(apis_and_tokens.md): add images to google instructions

* docs: remove typo apis_and_tokens.md

* Update apis_and_tokens.md

* feat(Google): use default settings map, fully support context for both text and chat models, fully support examples for chat models

* chore: update more PaLM references to Google

* chore: move playwright out of workflows to avoid failing tests
2023-12-10 14:54:13 -05:00
..
azureUtils.js feat(OpenAIClient): AZURE_USE_MODEL_AS_DEPLOYMENT_NAME, AZURE_OPENAI_DEFAULT_MODEL (#1165) 2023-11-10 09:58:17 -05:00
debug.js feat: ChatGPT Plugins/OpenAPI specs for Plugins Endpoint (#620) 2023-07-16 12:19:47 -04:00
extractBaseURL.js feat: allow any reverse proxy URLs, add proxy support to model fetching (#1192) 2023-11-16 18:56:09 -05:00
extractBaseURL.spec.js feat: allow any reverse proxy URLs, add proxy support to model fetching (#1192) 2023-11-16 18:56:09 -05:00
findMessageContent.js feat: ChatGPT Plugins/OpenAPI specs for Plugins Endpoint (#620) 2023-07-16 12:19:47 -04:00
index.js fix(OpenAIClient): use official SDK to identify client and avoid false Rate Limit Error (#1161) 2023-11-09 14:04:36 -05:00
logger.js feat: Logins log for Fail2Ban (#986) 2023-09-24 12:18:10 -04:00
LoggingSystem.js feat: Logins log for Fail2Ban (#986) 2023-09-24 12:18:10 -04:00
tokens.js feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
tokens.spec.js feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00