Skip to content

Commit ee40fbb

Browse files
committed
Add Telegram team features.
1 parent 2f56f37 commit ee40fbb

File tree

4 files changed

+602
-1
lines changed

4 files changed

+602
-1
lines changed
+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
export const MESSAGE_CONSTANTS = {
2+
MAX_MESSAGES: 50,
3+
RECENT_MESSAGE_COUNT: 5,
4+
CHAT_HISTORY_COUNT: 10,
5+
DEFAULT_SIMILARITY_THRESHOLD: 0.6,
6+
DEFAULT_SIMILARITY_THRESHOLD_FOLLOW_UPS: 0.4,
7+
INTEREST_DECAY_TIME: 5 * 60 * 1000, // 5 minutes
8+
PARTIAL_INTEREST_DECAY: 3 * 60 * 1000, // 3 minutes
9+
} as const;
10+
11+
export const TIMING_CONSTANTS = {
12+
TEAM_MEMBER_DELAY: 1500, // 1.5 seconds
13+
TEAM_MEMBER_DELAY_MIN: 1000, // 1 second
14+
TEAM_MEMBER_DELAY_MAX: 3000, // 3 seconds
15+
LEADER_DELAY_MIN: 2000, // 2 seconds
16+
LEADER_DELAY_MAX: 4000 // 4 seconds
17+
} as const;
18+
19+
export const RESPONSE_CHANCES = {
20+
AFTER_LEADER: 0.5, // 50% chance to respond after leader
21+
} as const;
22+
23+
export const TEAM_COORDINATION = {
24+
KEYWORDS: [
25+
'team',
26+
'everyone',
27+
'all agents',
28+
'team update',
29+
'gm team',
30+
'hello team',
31+
'hey team',
32+
'hi team',
33+
'morning team',
34+
'evening team',
35+
'night team',
36+
'update team',
37+
]
38+
} as const;

0 commit comments

Comments
 (0)