mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
📨 feat: Pass Custom Headers to Model Discovery (v1/models) (#10564)
This commit is contained in:
parent
ce1812b7c2
commit
69c6d023e1
2 changed files with 125 additions and 1 deletions
|
|
@ -80,7 +80,9 @@ const fetchModels = async ({
|
|||
|
||||
try {
|
||||
const options = {
|
||||
headers: {},
|
||||
headers: {
|
||||
...(headers ?? {}),
|
||||
},
|
||||
timeout: 5000,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue