|
14 | 14 | from onyx.chat.process_message import stream_chat_message_objects
|
15 | 15 | from onyx.configs.app_configs import DISABLE_GENERATIVE_AI
|
16 | 16 | from onyx.configs.constants import DEFAULT_PERSONA_ID
|
17 |
| -from onyx.configs.onyxbot_configs import DANSWER_REACT_EMOJI |
18 | 17 | from onyx.configs.onyxbot_configs import MAX_THREAD_CONTEXT_PERCENTAGE
|
19 | 18 | from onyx.configs.onyxbot_configs import ONYX_BOT_DISABLE_DOCS_ONLY_ANSWER
|
20 | 19 | from onyx.configs.onyxbot_configs import ONYX_BOT_DISPLAY_ERROR_MSGS
|
21 | 20 | from onyx.configs.onyxbot_configs import ONYX_BOT_NUM_RETRIES
|
| 21 | +from onyx.configs.onyxbot_configs import ONYX_BOT_REACT_EMOJI |
22 | 22 | from onyx.context.search.enums import OptionalSearchSetting
|
23 | 23 | from onyx.context.search.models import BaseFilters
|
24 | 24 | from onyx.context.search.models import RetrievalDetails
|
@@ -256,7 +256,7 @@ def _get_slack_answer(
|
256 | 256 |
|
257 | 257 | # In case of failures, don't keep the reaction there permanently
|
258 | 258 | update_emote_react(
|
259 |
| - emoji=DANSWER_REACT_EMOJI, |
| 259 | + emoji=ONYX_BOT_REACT_EMOJI, |
260 | 260 | channel=message_info.channel_to_respond,
|
261 | 261 | message_ts=message_info.msg_to_respond,
|
262 | 262 | remove=True,
|
@@ -312,7 +312,7 @@ def _get_slack_answer(
|
312 | 312 | # Got an answer at this point, can remove reaction and give results
|
313 | 313 | if not is_slash_command: # Slash commands don't have reactions
|
314 | 314 | update_emote_react(
|
315 |
| - emoji=DANSWER_REACT_EMOJI, |
| 315 | + emoji=ONYX_BOT_REACT_EMOJI, |
316 | 316 | channel=message_info.channel_to_respond,
|
317 | 317 | message_ts=message_info.msg_to_respond,
|
318 | 318 | remove=True,
|
|
0 commit comments