v0.7.6 (#5064)

* docs: Update README to include Model Context Protocol support and enhance access descriptions

* fix: Update civic integrity threshold to use 'BLOCK_NONE' as default

* fix: Update GOOGLE_MODELS in .env.example and adjust civic integrity threshold for new model compatibility

*  v0.7.6

* feat: Add 'gemini-2.0-flash-thinking-exp' model to googleModels context windows
This commit is contained in:
Danny Avila 2024-12-20 11:43:37 -05:00 committed by GitHub
parent 792ae03017
commit 9b118d42de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 25 additions and 22 deletions

View file

@ -144,7 +144,7 @@ GOOGLE_KEY=user_provided
# GOOGLE_AUTH_HEADER=true # GOOGLE_AUTH_HEADER=true
# Gemini API (AI Studio) # Gemini API (AI Studio)
# GOOGLE_MODELS=gemini-2.0-flash-exp,gemini-exp-1121,gemini-exp-1114,gemini-1.5-flash-latest,gemini-1.0-pro,gemini-1.0-pro-001,gemini-1.0-pro-latest,gemini-1.0-pro-vision-latest,gemini-1.5-pro-latest,gemini-pro,gemini-pro-vision # GOOGLE_MODELS=gemini-2.0-flash-exp,gemini-2.0-flash-thinking-exp-1219,gemini-exp-1121,gemini-exp-1114,gemini-1.5-flash-latest,gemini-1.0-pro,gemini-1.0-pro-001,gemini-1.0-pro-latest,gemini-1.0-pro-vision-latest,gemini-1.5-pro-latest,gemini-pro,gemini-pro-vision
# Vertex AI # Vertex AI
# GOOGLE_MODELS=gemini-1.5-flash-preview-0514,gemini-1.5-pro-preview-0514,gemini-1.0-pro-vision-001,gemini-1.0-pro-002,gemini-1.0-pro-001,gemini-pro-vision,gemini-1.0-pro # GOOGLE_MODELS=gemini-1.5-flash-preview-0514,gemini-1.5-pro-preview-0514,gemini-1.0-pro-vision-001,gemini-1.0-pro-002,gemini-1.0-pro-001,gemini-pro-vision,gemini-1.0-pro

View file

@ -1,4 +1,4 @@
# v0.7.5 # v0.7.6
# Base node image # Base node image
FROM node:20-alpine AS node FROM node:20-alpine AS node

View file

@ -1,5 +1,5 @@
# Dockerfile.multi # Dockerfile.multi
# v0.7.5 # v0.7.6
# Base for all builds # Base for all builds
FROM node:20-alpine AS base FROM node:20-alpine AS base

View file

@ -59,6 +59,7 @@
- No-Code Custom Assistants: Build specialized, AI-driven helpers without coding - No-Code Custom Assistants: Build specialized, AI-driven helpers without coding
- Flexible & Extensible: Attach tools like DALL-E-3, file search, code execution, and more - Flexible & Extensible: Attach tools like DALL-E-3, file search, code execution, and more
- Compatible with Custom Endpoints, OpenAI, Azure, Anthropic, AWS Bedrock, and more - Compatible with Custom Endpoints, OpenAI, Azure, Anthropic, AWS Bedrock, and more
- [Model Context Protocol (MCP) Support](https://modelcontextprotocol.io/clients#librechat) for Tools
- Use LibreChat Agents and OpenAI Assistants with Files, Code Interpreter, Tools, and API Actions - Use LibreChat Agents and OpenAI Assistants with Files, Code Interpreter, Tools, and API Actions
- 🪄 **Generative UI with Code Artifacts**: - 🪄 **Generative UI with Code Artifacts**:
@ -81,9 +82,6 @@
- 🎨 **Customizable Interface**: - 🎨 **Customizable Interface**:
- Customizable Dropdown & Interface that adapts to both power users and newcomers - Customizable Dropdown & Interface that adapts to both power users and newcomers
- 📧 **Secure Access**:
- Verify your email to ensure secure access
- 🗣️ **Speech & Audio**: - 🗣️ **Speech & Audio**:
- Chat hands-free with Speech-to-Text and Text-to-Speech - Chat hands-free with Speech-to-Text and Text-to-Speech
- Automatically send and play Audio - Automatically send and play Audio
@ -96,8 +94,8 @@
- 🔍 **Search & Discovery**: - 🔍 **Search & Discovery**:
- Search all messages/conversations - Search all messages/conversations
- 👥 **Multi-User & Secure**: - 👥 **Multi-User & Secure Access**:
- Multi-User, Secure Authentication with OAuth2 & Email Login Support - Multi-User, Secure Authentication with OAuth2, LDAP, & Email Login Support
- Built-in Moderation, and Token spend tools - Built-in Moderation, and Token spend tools
- ⚙️ **Configuration & Deployment**: - ⚙️ **Configuration & Deployment**:

View file

@ -917,7 +917,11 @@ class GoogleClient extends BaseClient {
}, },
{ {
category: 'HARM_CATEGORY_CIVIC_INTEGRITY', category: 'HARM_CATEGORY_CIVIC_INTEGRITY',
threshold: process.env.GOOGLE_SAFETY_CIVIC_INTEGRITY || 'HARM_BLOCK_THRESHOLD_UNSPECIFIED', /**
* Note: this was added since `gemini-2.0-flash-thinking-exp-1219` does not
* accept 'HARM_BLOCK_THRESHOLD_UNSPECIFIED' for 'HARM_CATEGORY_CIVIC_INTEGRITY'
* */
threshold: process.env.GOOGLE_SAFETY_CIVIC_INTEGRITY || 'BLOCK_NONE',
}, },
]; ];
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "@librechat/backend", "name": "@librechat/backend",
"version": "v0.7.5", "version": "v0.7.6",
"description": "", "description": "",
"scripts": { "scripts": {
"start": "echo 'please run this from the root directory'", "start": "echo 'please run this from the root directory'",

View file

@ -50,6 +50,7 @@ const googleModels = {
gemini: 30720, // -2048 from max gemini: 30720, // -2048 from max
'gemini-pro-vision': 12288, // -4096 from max 'gemini-pro-vision': 12288, // -4096 from max
'gemini-exp': 8000, 'gemini-exp': 8000,
'gemini-2.0-flash-thinking-exp': 30720, // -2048 from max
'gemini-2.0': 1048576, 'gemini-2.0': 1048576,
'gemini-1.5': 1048576, 'gemini-1.5': 1048576,
'text-bison-32k': 32758, // -10 from max 'text-bison-32k': 32758, // -10 from max

View file

@ -1,6 +1,6 @@
{ {
"name": "@librechat/frontend", "name": "@librechat/frontend",
"version": "v0.7.5", "version": "v0.7.6",
"description": "", "description": "",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -1,3 +1,3 @@
// v0.7.5 // v0.7.6
// See .env.test.example for an example of the '.env.test' file. // See .env.test.example for an example of the '.env.test' file.
require('dotenv').config({ path: './e2e/.env.test' }); require('dotenv').config({ path: './e2e/.env.test' });

View file

@ -1,4 +1,4 @@
<!-- v0.7.5 --> <!-- v0.7.6 -->
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>

10
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "LibreChat", "name": "LibreChat",
"version": "v0.7.5", "version": "v0.7.6",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "LibreChat", "name": "LibreChat",
"version": "v0.7.5", "version": "v0.7.6",
"license": "ISC", "license": "ISC",
"workspaces": [ "workspaces": [
"api", "api",
@ -40,7 +40,7 @@
}, },
"api": { "api": {
"name": "@librechat/backend", "name": "@librechat/backend",
"version": "v0.7.5", "version": "v0.7.6",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@anthropic-ai/sdk": "^0.32.1", "@anthropic-ai/sdk": "^0.32.1",
@ -987,7 +987,7 @@
}, },
"client": { "client": {
"name": "@librechat/frontend", "name": "@librechat/frontend",
"version": "v0.7.5", "version": "v0.7.6",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@ariakit/react": "^0.4.11", "@ariakit/react": "^0.4.11",
@ -36514,7 +36514,7 @@
}, },
"packages/data-provider": { "packages/data-provider": {
"name": "librechat-data-provider", "name": "librechat-data-provider",
"version": "0.7.65", "version": "0.7.66",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"axios": "^1.7.7", "axios": "^1.7.7",

View file

@ -1,6 +1,6 @@
{ {
"name": "LibreChat", "name": "LibreChat",
"version": "v0.7.5", "version": "v0.7.6",
"description": "", "description": "",
"workspaces": [ "workspaces": [
"api", "api",

View file

@ -1,6 +1,6 @@
{ {
"name": "librechat-data-provider", "name": "librechat-data-provider",
"version": "0.7.65", "version": "0.7.66",
"description": "data services for librechat apps", "description": "data services for librechat apps",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/index.es.js", "module": "dist/index.es.js",

View file

@ -1086,7 +1086,7 @@ export enum TTSProviders {
/** Enum for app-wide constants */ /** Enum for app-wide constants */
export enum Constants { export enum Constants {
/** Key for the app's version. */ /** Key for the app's version. */
VERSION = 'v0.7.5', VERSION = 'v0.7.6',
/** Key for the Custom Config's version (librechat.yaml). */ /** Key for the Custom Config's version (librechat.yaml). */
CONFIG_VERSION = '1.2.0', CONFIG_VERSION = '1.2.0',
/** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */ /** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */

View file

@ -1,4 +1,4 @@
// v0.7.5 // v0.7.6
module.exports = { module.exports = {
tailwindConfig: './client/tailwind.config.cjs', tailwindConfig: './client/tailwind.config.cjs',
printWidth: 100, printWidth: 100,