fix: ruff

This commit is contained in:
Harry
2026-03-09 17:42:34 +08:00
parent 9afdb490ff
commit 6ac730ec2e
4 changed files with 16 additions and 8 deletions

View File

@ -52,7 +52,10 @@ class ReActStrategy(AgentPattern):
self.instruction = instruction
def run(
self, prompt_messages: list[PromptMessage], model_parameters: dict[str, Any], stop: list[str] = [],
self,
prompt_messages: list[PromptMessage],
model_parameters: dict[str, Any],
stop: list[str] = [],
stream: bool = True,
) -> Generator[LLMResultChunk | AgentLog, None, AgentResult]:
"""Execute the ReAct agent strategy."""