小修复

This commit is contained in:
雅诺狐
2025-08-12 22:38:26 +08:00
parent b393ec8d92
commit 4da66f39c9
5 changed files with 37 additions and 32 deletions

View File

@@ -411,6 +411,7 @@ async def custom_to_stream(
async def adapter_command_to_stream(
action: str,
params: dict,
platform: str,
stream_id: Optional[str] = None,
timeout: float = 30.0,
storage_message: bool = False
@@ -452,12 +453,12 @@ async def adapter_command_to_stream(
temp_user_info = UserInfo(
user_id="system",
user_nickname="System",
platform="adapter_command"
platform=platform
)
temp_chat_stream = ChatStream(
stream_id=stream_id,
platform="adapter_command",
platform=platform,
user_info=temp_user_info,
group_info=None
)