mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 04:10:15 +01:00
🔧 chore: Update Deepseek Pricing, Google Safety Settings (#5409)
* fix: google-thinking model safety settings fix * chore: update pricing/context for deepseek models * ci: update Deepseek model token limits to use dynamic mapping
This commit is contained in:
parent
2d3dd9e351
commit
87383fec27
6 changed files with 48 additions and 5 deletions
|
|
@ -886,7 +886,8 @@ class GoogleClient extends BaseClient {
|
|||
}
|
||||
|
||||
getSafetySettings() {
|
||||
const isGemini2 = this.modelOptions.model.includes('gemini-2.0');
|
||||
const model = this.modelOptions.model;
|
||||
const isGemini2 = model.includes('gemini-2.0') && !model.includes('thinking');
|
||||
const mapThreshold = (value) => {
|
||||
if (isGemini2 && value === 'BLOCK_NONE') {
|
||||
return 'OFF';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue