Skip to content

Commit 8aa9e42

Browse files
committed
create config for custom endpoint
1 parent ca8099b commit 8aa9e42

2 files changed

Lines changed: 21 additions & 5 deletions

File tree

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ bower_components/
5454
.floo
5555
.flooignore
5656

57-
#config file
58-
librechat.yaml
59-
librechat.yml
60-
6157
# Environment
6258
.npmrc
6359
.env*
@@ -105,4 +101,4 @@ auth.json
105101
uploads/
106102

107103
# owner
108-
release/
104+
release/

librechat.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Configuration version (required)
2+
version: 1.2.1
3+
4+
# Cache settings: Set to true to enable caching
5+
cache: true
6+
7+
# Definition of custom endpoints
8+
endpoints:
9+
custom:
10+
- name: 'openai'
11+
apiKey: '${OPENAI_API_KEY}'
12+
baseURL: '${OPENAI_BASE_URL}'
13+
models:
14+
default:
15+
[
16+
'gpt-4o',
17+
]
18+
fetch: false
19+
titleConvo: true
20+
titleModel: 'current_model'

0 commit comments

Comments
 (0)