Merge branch 'HKUDS:main' into feat_login-jwt

This commit is contained in:
Milin
2025-03-05 20:21:21 +08:00
committed by GitHub
5 changed files with 82 additions and 14 deletions

View File

@@ -337,9 +337,6 @@ def create_app(args):
"use_llm_check": False,
},
namespace_prefix=args.namespace_prefix,
addon_params={
"language": args.language,
},
auto_manage_storages_states=False,
)
else: # azure_openai

View File

@@ -396,7 +396,6 @@ def parse_args(is_uvicorn_mode: bool = False) -> argparse.Namespace:
# Inject chunk configuration
args.chunk_size = get_env_value("CHUNK_SIZE", 1200, int)
args.chunk_overlap_size = get_env_value("CHUNK_OVERLAP_SIZE", 100, int)
args.language = get_env_value("LANGUAGE", "English")
ollama_server_infos.LIGHTRAG_MODEL = args.simulated_model_name