feat: support push chat log (#3093)

* feat: custom uid/metadata

* to: custom info

* fix: chat push latest

* feat: add chat log envs

* refactor: move timer to pushChatLog

* fix: using precise log

---------

Co-authored-by: Finley Ge <m13203533462@163.com>
This commit is contained in:
a.e.
2024-11-08 15:35:27 +08:00
committed by archer
parent 8ede7add01
commit 0a238845ab
5 changed files with 223 additions and 36 deletions

View File

@@ -46,4 +46,9 @@ STORE_LOG_LEVEL=warn
# 工作流最大运行次数,避免极端的死循环情况
WORKFLOW_MAX_RUN_TIMES=500
# 循环最大运行次数,避免极端的死循环情况
WORKFLOW_MAX_LOOP_TIMES=50
WORKFLOW_MAX_LOOP_TIMES=50
# 对话日志推送服务
# URL/INTERVAL 为空时不推送
CHAT_LOG_URL=http://localhost:8080
CHAT_LOG_INTERVAL=10000