Merge branch 'main' into redis_impl
This commit is contained in:
commit
afb30fe6c1
1 changed files with 4 additions and 2 deletions
|
|
@ -610,10 +610,12 @@ def get_api_key_dependency(api_key: Optional[str]):
|
||||||
|
|
||||||
def create_app(args):
|
def create_app(args):
|
||||||
# Verify that bindings arer correctly setup
|
# Verify that bindings arer correctly setup
|
||||||
if args.llm_binding not in ["lollms", "ollama", "openai", "openai-ollama"]:
|
|
||||||
|
if args.llm_binding not in ["lollms", "ollama", "openai", "openai-ollama", "azure_openai"]:
|
||||||
|
|
||||||
raise Exception("llm binding not supported")
|
raise Exception("llm binding not supported")
|
||||||
|
|
||||||
if args.embedding_binding not in ["lollms", "ollama", "openai"]:
|
if args.embedding_binding not in ["lollms", "ollama", "openai", "azure_openai"]:
|
||||||
raise Exception("embedding binding not supported")
|
raise Exception("embedding binding not supported")
|
||||||
|
|
||||||
# Add SSL validation
|
# Add SSL validation
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue