feat(dingtalk): add AI card template ID input (#1056)
Adds an input field for the DingTalk AI Card template ID under Platform Settings, plus the matching DINGTALK_CARD_TEMPLATE_ID env mapping so the value is persisted to the active profile and forwarded to the hermes agent (which already supports AI Cards via extra.card_template_id). Closes #1035
This commit is contained in:
@@ -30,6 +30,7 @@ const envPlatformMap: Record<string, [string, string]> = {
|
||||
DINGTALK_CLIENT_ID: ['dingtalk', 'extra.client_id'],
|
||||
DINGTALK_CLIENT_SECRET: ['dingtalk', 'extra.client_secret'],
|
||||
DINGTALK_APP_KEY: ['dingtalk', 'extra.app_key'],
|
||||
DINGTALK_CARD_TEMPLATE_ID: ['dingtalk', 'extra.card_template_id'],
|
||||
DINGTALK_ALLOWED_USERS: ['dingtalk', 'allowed_users'],
|
||||
DINGTALK_ALLOW_ALL_USERS: ['dingtalk', 'allow_all_users'],
|
||||
QQ_APP_ID: ['qqbot', 'extra.app_id'],
|
||||
|
||||
Reference in New Issue
Block a user