Use compatible Markdown link in DingTalk A2UI branding

This commit is contained in:
fdc310
2026-10-28 03:41:08 +08:00
parent 19967c8a73
commit 6a29ffe07f
2 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -36,9 +36,8 @@ def brand_components() -> list[dict[str, typing.Any]]:
},
{
'id': 'langbot-brand-link',
'component': 'Link',
'text': 'LangBot',
'action': {'functionCall': {'call': 'openUrl', 'args': {'url': LANGBOT_CARD_URL}}},
'component': 'Markdown',
'content': f'[LangBot]({LANGBOT_CARD_URL})',
},
]