mrbesher commited on
Commit
a7a048d
1 Parent(s): 30bd031

Update librechat.yaml

Browse files
Files changed (1) hide show
  1. librechat.yaml +15 -1
librechat.yaml CHANGED
@@ -71,4 +71,18 @@ endpoints:
71
  summaryModel: "sonar-medium-chat"
72
  forcePrompt: false
73
  dropParams: ["stop", "frequency_penalty"]
74
- modelDisplayLabel: "Perplexity"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  summaryModel: "sonar-medium-chat"
72
  forcePrompt: false
73
  dropParams: ["stop", "frequency_penalty"]
74
+ modelDisplayLabel: "Perplexity"
75
+
76
+ # OpenRouter
77
+ - name: 'OpenRouter'
78
+ # Known issue: you should not use `OPENROUTER_API_KEY` as it will then override the `openAI` endpoint to use OpenRouter as well.
79
+ apiKey: '${OPENROUTER_KEY}'
80
+ baseURL: 'https://openrouter.ai/api/v1'
81
+ models:
82
+ default: ['meta-llama/llama-3-8b-instruct']
83
+ fetch: true
84
+ titleConvo: true
85
+ titleModel: 'meta-llama/llama-3-8b-instruct'
86
+ # Recommended: Drop the stop parameter from the request as Openrouter models use a variety of stop tokens.
87
+ dropParams: ['stop']
88
+ modelDisplayLabel: 'OpenRouter'