完善skills;测试用例生成页面功能初步实现
This commit is contained in:
@@ -4,7 +4,6 @@ from time import perf_counter
|
||||
from typing import Any, Dict, List, Optional
|
||||
from uuid import uuid4
|
||||
|
||||
from app.services.llm.llm_factory import LLMFactory
|
||||
from app.services.testing_pipeline.tools import build_default_tool_chain
|
||||
|
||||
|
||||
@@ -42,6 +41,8 @@ def run_testing_pipeline(
|
||||
llm_model = None
|
||||
if use_model_generation:
|
||||
try:
|
||||
from app.services.llm.llm_factory import LLMFactory
|
||||
|
||||
llm_model = LLMFactory.create(streaming=False)
|
||||
except Exception:
|
||||
llm_model = None
|
||||
|
||||
Reference in New Issue
Block a user