We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c6cd22 commit 3148799Copy full SHA for 3148799
1 file changed
astrbot/core/platform/sources/lark/lark_event.py
@@ -349,12 +349,16 @@ def _build_reasoning_card(message_chain: MessageChain) -> dict | None:
349
else:
350
return None
351
352
- return {
353
- "schema": "2.0",
354
- "body": {
355
- "elements": elements,
356
- },
357
- } if elements else None
+ return (
+ {
+ "schema": "2.0",
+ "body": {
+ "elements": elements,
+ },
358
+ }
359
+ if elements
360
+ else None
361
+ )
362
363
@staticmethod
364
async def _send_interactive_card(
0 commit comments