📨 feat: Pass Custom Headers to Model Discovery (v1/models) (#10564)

This commit is contained in:
Anthony Quéré 2025-11-19 14:49:51 +01:00 committed by GitHub
parent ce1812b7c2
commit 69c6d023e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 125 additions and 1 deletions

View file

@ -80,7 +80,9 @@ const fetchModels = async ({
try {
const options = {
headers: {},
headers: {
...(headers ?? {}),
},
timeout: 5000,
};