📘 docs: Portkey AI custom endpoint in librechat.example.yaml (#4625)

* Update librechat.example.yaml with Portkey AI example

* Update librechat.example.yaml

---------

Co-authored-by: Danny Avila <danacordially@gmail.com>
This commit is contained in:
siddharth Sambharia 2024-11-23 05:42:12 +05:30 committed by GitHub
parent fe78210e0d
commit ecaf24d727
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -184,6 +184,24 @@ endpoints:
# Recommended: Drop the stop parameter from the request as Openrouter models use a variety of stop tokens. # Recommended: Drop the stop parameter from the request as Openrouter models use a variety of stop tokens.
dropParams: ['stop'] dropParams: ['stop']
modelDisplayLabel: 'OpenRouter' modelDisplayLabel: 'OpenRouter'
# Portkey AI Example
- name: "Portkey"
apiKey: "dummy"
baseURL: 'https://api.portkey.ai/v1'
headers:
x-portkey-api-key: '${PORTKEY_API_KEY}'
x-portkey-virtual-key: '${PORTKEY_OPENAI_VIRTUAL_KEY}'
models:
default: ['gpt-4o-mini', 'gpt-4o', 'chatgpt-4o-latest']
fetch: true
titleConvo: true
titleModel: 'current_model'
summarize: false
summaryModel: 'current_model'
forcePrompt: false
modelDisplayLabel: 'Portkey'
iconURL: https://images.crunchbase.com/image/upload/c_pad,f_auto,q_auto:eco,dpr_1/rjqy7ghvjoiu4cd1xjbf
# fileConfig: # fileConfig:
# endpoints: # endpoints:
# assistants: # assistants: