feat: add TenChat to platform list in post generator

This commit is contained in:
apuc committed 2026-09-11 14:45:55 +03:00
1 parent 849e5c472a
commit 2fb62f16d6
2 files changed
+7 -3

No files matched your search

+6 -3
View File
@@ -161,7 +161,8 @@ class ContentGenerator:
'linkedin': 'LinkedIn',
'telegram': 'Telegram',
'twitter': 'Twitter/X',
'ad': 'рекламный пост'
'ad': 'рекламный пост',
'tenchat': 'TenChat'
}
prompt = f"""
@@ -217,7 +218,8 @@ class ContentGenerator:
'linkedin': 'LinkedIn',
'telegram': 'Telegram',
'twitter': 'Twitter/X',
'ad': 'рекламный пост'
'ad': 'рекламный пост',
'tenchat': 'TenChat'
}
prompt = f"""
@@ -310,7 +312,8 @@ class ContentGenerator:
'linkedin': 'LinkedIn',
'telegram': 'Telegram',
'twitter': 'Twitter/X',
'ad': 'рекламный пост'
'ad': 'рекламный пост',
'tenchat': 'TenChat'
}
if is_community:
+1
View File
@@ -108,6 +108,7 @@ PLATFORMS = [
("linkedin", "LinkedIn"),
("telegram", "Telegram"),
("twitter", "Twitter/X"),
("tenchat", "TenChat"),
("ad", "Рекламный пост"),
]