File size: 437 Bytes
3667c7a
15f2bc2
 
 
3667c7a
 
 
 
 
 
6bb887d
 
3667c7a
ab840dc
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
def add_interviewer_message(message):
    def f(chat, skip=False):
        if not skip:
            chat.append((None, message))
        return chat

    return f


def add_candidate_message(message, chat):
    if message and len(message) > 0:
        chat.append((message, None))
    return chat


def get_status_color(obj):
    if obj.status:
        if obj.streaming:
            return "🟒"
        return "🟑"
    return "πŸ”΄"