增加代码知识库;修复文档处理内容;增加API设置

This commit is contained in:
2026-05-16 20:20:10 +08:00
parent 69b49d28b2
commit 7aa3ce3294
119 changed files with 182273 additions and 793 deletions

View File

@@ -33,13 +33,13 @@ def run_testing_pipeline(
debug: bool = False,
knowledge_context: Optional[str] = None,
use_model_generation: bool = False,
llm_model: Any = None,
max_items_per_group: int = 12,
cases_per_item: int = 2,
max_focus_points: int = 6,
max_llm_calls: int = 10,
) -> Dict[str, Any]:
llm_model = None
if use_model_generation:
if use_model_generation and llm_model is None:
try:
from app.services.llm.llm_factory import LLMFactory