fix:修复了因为迭代数据只推入resq_messages和resq_message_chain导致缓存到内存中的数据和写入log中的数据量庞大,以及带有深度思考模型的think增加

This commit is contained in:
Dong_master
2025-07-12 18:09:24 +08:00
committed by Junyan Qin
parent 4908996cac
commit 5ce32d2f04
3 changed files with 42 additions and 49 deletions

View File

@@ -83,7 +83,6 @@ class ProviderAPIRequester(metaclass=abc.ABCMeta):
model: RuntimeLLMModel,
messages: typing.List[llm_entities.Message],
funcs: typing.List[tools_entities.LLMFunction] = None,
stream: bool = False,
extra_args: dict[str, typing.Any] = {},
) -> llm_entities.Message:
"""调用API