better:新增config项目

This commit is contained in:
SengokuCola
2025-04-14 22:09:00 +08:00
parent 53332791e4
commit d9f191705f
11 changed files with 51 additions and 31 deletions

View File

@@ -13,7 +13,7 @@ class KnowledgeFetcher:
def __init__(self):
self.llm = LLM_request(
model=global_config.llm_normal, temperature=0.7, max_tokens=1000, request_type="knowledge_fetch"
model=global_config.llm_normal, temperature=global_config.llm_normal["temp"], max_tokens=1000, request_type="knowledge_fetch"
)
async def fetch(self, query: str, chat_history: List[Message]) -> Tuple[str, str]: