Skip to content

Releases: LlmKira/Openaibot

[Preview][lib0.24]Plugin System

14 Oct 16:44
9dbc0b4
Compare
Choose a tag to compare
Pre-release

🔨 Attention

Before updating the program, please go to http://{ip}:15672/#/queues and delete all queues to avoid any conflicts.

If you run the following commands in the CLI:

# View all queues
rabbitmqctl list_queues

# Delete a specific queue based on the queue_name parameter
rabbitmqctl delete_queue queue_name

Fixed

  • 如果不设置 ENDPOINT ,禁止从全局变量初始化

Changed

  • 改动了大量结构
  • 放宽程序验证限制,没有数据库环境变量仍可以继续运行

Added


Fixed

  • If ENDPOINT is not set, initialisation from global variables is disabled.

Changed

  • Changed a lot of structure
  • Loosened program validation restrictions so that it can continue to run without database environment variables.

Added

0.21 RabbitMQ message control/logging system

12 Oct 08:49
3abaf89
Compare
Choose a tag to compare

🔨 DEPLOY ATTENTION

🧯 Before updating the program,stop bot, please go to http://{ip}:15672/#/queues and delete all queues to avoid any conflicts.

If you run the following commands in the CLI:

# View all queues
rabbitmqctl list_queues

# Delete a specific queue based on the queue_name parameter
rabbitmqctl delete_queue queue_name

Or recreate the rabbitmq container

Added

  • RabbitMQ
EXPIRATION_SECOND = 60 * 5  # 5min
QUEUE_MAX_LENGTH = 120
X_OVERFLOW = "reject-publish"  # 拒绝
CONSUMER_PREFETCH_COUNT = 12  # 消息流控
QUEUE_ARGUMENTS = {
    "x-max-length": QUEUE_MAX_LENGTH,  # 上限
    # "message-ttl": EXPIRATION_SECOND * 1000,
    "x-overflow": X_OVERFLOW  # 拒绝
}
Variable name value Description
LLMBOT_STOP_REPLY 1 Stop receiver from replying if the value is 1
LLMBOT_LOG_OUTPUT DEBUG Print LONG debug log on the screen if the value is DEBUG

0.20 Node Network

11 Oct 16:24
00871e0
Compare
Choose a tag to compare

Fixed

  • #266 适配API2D的Key格式
  • 默认不回复
  • 命令识别,带 @ 的命令已经可以被识别
  • 错误处理

Changed

  • 插件父类结构,添加认证标记
  • 转发路由系统重写
  • function 接收器回收此步函数防止无限重发

Added

  • #267 认证组件
  • TaskHeader 类添加 direct_reply 路由
  • TaskHeader 类添加 function_salvation_list 属性,在第一个子链中启用上一轮函数
  • 添加重发器库位于 middleware/chain_box

0.19

24 Sep 13:23
3006bae
Compare
Choose a tag to compare
  • Fix socks5 proxy
  • Compatible with Python 3.8

0.18

24 Sep 07:00
8a71f72
Compare
Choose a tag to compare
  • #265
  • File Reader
  • Translate plugin
  • Logger

v1.6.9-beta ChatGpt / 3.5

04 Mar 13:50
7ce80bb
Compare
Choose a tag to compare

v1.6.9-alpha ChatGpt / 3.5

03 Mar 08:35
a30d245
Compare
Choose a tag to compare

v1.6.8-stable

02 Mar 11:11
54dbd55
Compare
Choose a tag to compare
Update README_ZH.md

v1.6.7-beta

22 Feb 02:14
2b0e33e
Compare
Choose a tag to compare
Merge remote-tracking branch 'origin/main'

v1.6.7-alpha-fix-fix

18 Feb 12:51
ccf9ec2
Compare
Choose a tag to compare