Merge pull request #628 from danielaskdd/Fix-parms-missing-for-openai

Fix parms missing for openai
This commit is contained in:
zrguo
2025-01-23 11:52:17 +08:00
committed by GitHub
4 changed files with 9 additions and 365 deletions

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,
)