Azure OpenAI requires import of OpenAILLMOptions (missing)

This commit is contained in:
Thibo Rosemplatt 2025-08-24 00:28:49 +02:00
parent 4e79550725
commit f5938f76bc

View File

@ -248,6 +248,7 @@ def create_app(args):
azure_openai_complete_if_cache,
azure_openai_embed,
)
from lightrag.llm.binding_options import OpenAILLMOptions
if args.llm_binding == "aws_bedrock" or args.embedding_binding == "aws_bedrock":
from lightrag.llm.bedrock import bedrock_complete_if_cache, bedrock_embed
if args.embedding_binding == "ollama":