Skip to content

Commit 9fe2ac5

Browse files
📘 docs: Portkey AI custom endpoint in librechat.example.yaml (danny-avila#4625)
* Update librechat.example.yaml with Portkey AI example * Update librechat.example.yaml --------- Co-authored-by: Danny Avila <[email protected]>
1 parent ec17822 commit 9fe2ac5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

librechat.example.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,24 @@ endpoints:
184184
# Recommended: Drop the stop parameter from the request as Openrouter models use a variety of stop tokens.
185185
dropParams: ['stop']
186186
modelDisplayLabel: 'OpenRouter'
187+
188+
# Portkey AI Example
189+
- name: "Portkey"
190+
apiKey: "dummy"
191+
baseURL: 'https://api.portkey.ai/v1'
192+
headers:
193+
x-portkey-api-key: '${PORTKEY_API_KEY}'
194+
x-portkey-virtual-key: '${PORTKEY_OPENAI_VIRTUAL_KEY}'
195+
models:
196+
default: ['gpt-4o-mini', 'gpt-4o', 'chatgpt-4o-latest']
197+
fetch: true
198+
titleConvo: true
199+
titleModel: 'current_model'
200+
summarize: false
201+
summaryModel: 'current_model'
202+
forcePrompt: false
203+
modelDisplayLabel: 'Portkey'
204+
iconURL: https://images.crunchbase.com/image/upload/c_pad,f_auto,q_auto:eco,dpr_1/rjqy7ghvjoiu4cd1xjbf
187205
# fileConfig:
188206
# endpoints:
189207
# assistants:

0 commit comments

Comments
 (0)