From d961b5e9290edef3bee5cd6adc4a636af209c1e7 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期四, 09 一月 2025 18:52:21 +0800
Subject: [PATCH] tmp

---
 app/config/const.py |   65 +++++++++++++++++++++++++++++---
 1 files changed, 59 insertions(+), 6 deletions(-)

diff --git a/app/config/const.py b/app/config/const.py
index 7a0a328..4f173bc 100644
--- a/app/config/const.py
+++ b/app/config/const.py
@@ -4,7 +4,8 @@
 DOCUMENT_TO_REPORT = "document_to_report"
 IMAGE_TO_TEXT = "image_and_text_conversion"
 DOCUMENT_IA_QUESTIONS = "document_ia_questions"
-
+ENV_CONF_PATH = "app/config/env_conf"
+APP_SERVICE_PATH = "app/service/"
 
 ### -----------app register --------------
 RAGFLOW = "ragflow_app"
@@ -12,10 +13,10 @@
 DIFY = "dify_app"
 
 ### ---------------app type-----------------
-BASIC_ID = 3
-RAGFLOW_ID = 1
-BISHENG_ID = 2
-DIFY_ID = 4
+BASIC_TYPE = "3"
+RG_TYPE = "1"
+BS_TYPE = "2"
+DF_TYPE = "4"
 
 ###  ------------------status--------------------
 USER_STATSU_DELETE = "2"
@@ -36,4 +37,56 @@
 
 RESOURCE_STATUS_DELETE = "2"
 RESOURCE_STATUS_ON = "1"
-RESOURCE_STATUS_OFF = "0"
\ No newline at end of file
+RESOURCE_STATUS_OFF = "0"
+
+
+###
+max_chunk_size  =5000
+
+
+### ---------chat mode--------------
+dialog_chat = "agent-dialog"
+workflow_chat = "workflow"
+advanced_chat = "advanced-chat"
+agent_chat = "agent-chat"
+base_chat = "chat"
+basic_chat = "agent-basic"
+
+
+### ------------------------------
+rg_api_token = "6b8ee426c67511efb1510242ac1b0006"
+
+
+### ----------------evnet message value----------------------
+message_event = "message"
+message_agent_thought = "agent_thought"
+message_agent = "agent_message"
+message_end = "message_end"
+message_error = "error"
+message_file  = "message_file"
+message_tts  = "tts_message"
+message_tts_end  = "tts_message_end"
+message_replace  = "message_replace"
+message_ping = "ping"
+workflow_started = "workflow_started"
+node_started = "node_started"
+node_finished = "node_finished"
+workflow_finished = "workflow_finished"
+
+
+### --------------------smart output event message----------------------------------
+smart_message_cover = "message"
+smart_message_stream = "stream"
+smart_message_file = "message_file"
+smart_message_end = "message_end"
+smart_message_error = "error"
+smart_workflow_started = "workflow_started"
+smart_node_started = "node_started"
+smart_node_finished = "node_finished"
+smart_workflow_finished = "workflow_finished"
+
+
+### ---------------------------http status--------------------------------------
+http_200 = 200
+http_400 = 400
+http_500 = 500
\ No newline at end of file

--
Gitblit v1.8.0