Fix parameters missing in app creation in case openai is selected

This commit is contained in:
yangdx
2025-01-23 01:15:48 +08:00
parent 4e5ca51e38
commit 11b618d434

View File

@@ -715,6 +715,9 @@ def create_app(args):
llm_model_func=azure_openai_model_complete
if args.llm_binding == "azure_openai"
else openai_alike_model_complete,
llm_model_name=args.llm_model,
llm_model_max_async=args.max_async,
llm_model_max_token_size=args.max_tokens,
embedding_func=embedding_func,
)