Fix linting

This commit is contained in:
yangdx
2025-02-13 14:07:36 +08:00
parent e5adb2e0f3
commit cdd52809b0
2 changed files with 9 additions and 2 deletions

View File

@@ -672,10 +672,11 @@ def get_api_key_dependency(api_key: Optional[str]):
# Global configuration
global_top_k = 60 # default value
def create_app(args):
global global_top_k
global_top_k = args.top_k # save top_k from args
# Verify that bindings are correctly setup
if args.llm_binding not in [
"lollms",