Skip to content

Commit 3d13673

Browse files
committed
ruff format
1 parent 140c014 commit 3d13673

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

astrbot/core/astr_agent_tool_exec.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,12 @@ async def _wake_main_agent_for_background_result(
317317
message_type=session.message_type,
318318
)
319319
cron_event.role = event.role
320-
config = MainAgentBuildConfig(tool_call_timeout=3600, streaming_response=ctx.get_config().get("provider_settings", {}).get("stream", False))
320+
config = MainAgentBuildConfig(
321+
tool_call_timeout=3600,
322+
streaming_response=ctx.get_config()
323+
.get("provider_settings", {})
324+
.get("stream", False),
325+
)
321326

322327
req = ProviderRequest()
323328
conv = await _get_session_conv(event=cron_event, plugin_context=ctx)

0 commit comments

Comments
 (0)