fix: 少打一个字

This commit is contained in:
anka
2025-04-10 11:28:47 +08:00
parent 87c3aff4ce
commit bdf25976a3
@@ -67,7 +67,7 @@ class LLMRequestSubStage(Stage):
), "provider_request 必须是 ProviderRequest 类型。"
if req.conversation:
all_contexts = json.load(req.conversation.history)
all_contexts = json.loads(req.conversation.history)
req.contexts = self._process_tool_message_pairs(
all_contexts, remove_tags=True
)