Support supplying custom headers to OpenAI requests (#1356)

This commit is contained in:
Niv Hertz
2024-05-06 13:26:12 -04:00
committed by GitHub
parent a0ff764f0a
commit 797dea1dca
4 changed files with 26 additions and 3 deletions

View File

@@ -431,6 +431,7 @@ def validate_config(config_data):
Optional("model_kwargs"): dict,
Optional("local"): bool,
Optional("base_url"): str,
Optional("default_headers"): dict,
},
},
Optional("vectordb"): {