增加代码知识库;修复文档处理内容;增加API设置
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user