fix naive_query

This commit is contained in:
Larfii
2024-12-09 17:45:01 +08:00
parent e083854d47
commit 2ba20910bb
3 changed files with 2 additions and 2 deletions

View File

@@ -1103,7 +1103,6 @@ async def naive_query(
response = await use_model_func(
query,
system_prompt=sys_prompt,
mode=query_param.mode,
)
if len(response) > len(sys_prompt):