Skip to content

Releases: LlmKira/Openaibot

GhatGLM 兼容

05 Nov 09:25
c39615f
Compare
Choose a tag to compare
nolib0.26.3_3

logger

Optimize memory usage/Fix Slack Sender

01 Nov 04:30
99c19b7
Compare
Choose a tag to compare

Changed

  • Fix Slack
  • Fix Chain Release
  • Fix Chain System
  • Delete NLP MOD

性能指标测试(Until 2023/11/1)

注意,不包括pm2,redis,rabbitmq,mongodb,docker等服务的内存占用。

Telegram单端运行总计 200MB

|receiver | 120.202MB | python3 -m memray run --live start_receiver.py |
| sender | 83.375MB | python3 -m memray run --live start_sender.py |

进程 内存均值 测算命令
receiver 120.202MB python3 -m memray run --live start_receiver.py
sender 83.375MB python3 -m memray run --live start_sender.py

What's Changed

Full Changelog: nolib0.26.3_1...nolib0.26.3_2

Optimize memory usage

30 Oct 17:09
4d64714
Compare
Choose a tag to compare

性能指标测试(2023/10/31)

进程 内存均值 测算命令
receiver 286.847MB python3 -m memray run --live start_receiver.py
sender 260.669MB python3 -m memray run --live start_sender.py

Fix Bug

30 Oct 16:35
15566f4
Compare
Choose a tag to compare
  • fix send double 相同内容被写入加倍
  • fix trigger 扳机

请更新到此stable

  • 初步性能分析

Full Changelog: nolib0.26.2_2...lib0.26.3

nolib0.26.2_2

29 Oct 15:48
b215187
Compare
Choose a tag to compare

Fix Docker

29 Oct 15:28
e2f4ad8
Compare
Choose a tag to compare

lib0.26.2

Fix

28 Oct 14:09
9411661
Compare
Choose a tag to compare
Fix
nolib0.26.1_3

add importlib_metadata

Fix a dependence issue

28 Oct 13:48
c7b7455
Compare
Choose a tag to compare
  • add importlib_metadata to docker

Docker With pm2-runtime

28 Oct 13:06
c7b7455
Compare
Choose a tag to compare
  • 跟进了Dokcer更新

  • Docker 挂载数据卷

  • Docker 在Python里面装了 Pm2

  • 本地运行成功,但是报错

  • 修正了 Pm2 的设置,错误自动退出

  • 修复了 Search 的错误转发。

Plugin OpenApi Bump

28 Oct 10:03
e17a6e9
Compare
Choose a tag to compare

🥥Safety Apply

新服务器会自动设定初始化以下DSN,如果运行失败,请手动设定您的 DSN!注意启动新的服务 Mongodb

The new server will automatically set and initialize the following DSN. If the operation fails, please set your DSN manually!
Please start a new database: Mongodb.

如果失败,请考虑删除Docker实例
If that fails, consider deleting the Docker instance

AMQP_DSN=amqp://admin:8a8a8a@localhost:5672/
REDIS_DSN=redis://localhost:6379/0
MONGODB_DSN=mongodb://admin:8a8a8a@localhost:27017/?authSource=admin

Docker-compose feat

  mongodb:
    container_name: mongodb
    image: mongo:latest
    restart: on-failure
    environment:
      - TZ=Asia/Shanghai
      - MONGO_INITDB_ROOT_USERNAME=admin
      - MONGO_INITDB_ROOT_PASSWORD=8a8a8a
    volumes:
      - ./mongodb:/data/db
    ports:
      - "27017:27017"
    networks:
      - app-tier

🔨Fix

  • 🌟修复 Kook 文件乱序
  • 🌟修复了经过 loop 双倍消息的问题
  • 修复前置函数hash化
  • setup.sh 的Redis 版本匹配
  • 添加遗漏的 MIT 协议声明

Change

  • 插件版本更新
  • 插件系统新的子链构建 API
  • 部署点添加了 expire 属性,默认 7 天过期
  • 🌟Mongodb 接管用户数据存储
  • DockerFile 添加 MongoDb
  • 自定义端点命令添加 模型 选项
  • 优化uid逻辑一致性
  • 🌟修复链系统循环逻辑,添加 write_back release_chain 属性
  • 🌟标准化所有内置插件
  • 添加了 settings.toml 的组件

Add

  • 🌟添加了 Function schema 的 config 属性
  • 添加了依赖 dynaconf
  • 🌟添加了新模组 ServiceProvider,让分发中介可以自行控制权限访问。提供 auth 和 get 方法。用于内网权限介入,自部署自定义模式,服务商自部署,代理二级key分发。
  • 添加了 mongodb 数据库
  • 默认公共实例默认启用了每日访问次数控制
  • 🌟添加了 Trigger 访问控制,用于前置消息文本检查,可用于特定字符触发启用或拒绝。
  • 添加了 SERVICE_PROVIDER MONGODB_DSN 环境变量
  • 🌟添加了对插件的SystemPrompt注册类,允许插件注册额外的SystemPrompt
  • 🌟 添加了 /token /token_clear 令牌注册命令,注册二级令牌。添加了 /func_ban /func_unban 命令屏蔽/解绑函数。

What's Changed

  • [PluginOpenApi] Media Trans LoopRunner 多媒体转换拦截 / 错误计数器 Plugin supervise by @sudoskys in #303

Full Changelog: lib0.25.5...lib0.26.0_preview


🔨Fix

  • 🌟 Fixed Kook files being out of order
  • 🌟 Fix double messages after loop
  • 🌟 Fix hashing of prefunctions
  • Redis version match for setup.sh
  • Add missing MIT protocol declaration.
  • Plugin version update.
  • Plugin version update
  • New subchain build API for plugin system
  • 🌟 Deployment point added expire attribute, default expires in 7 days
  • 🌟Mongodb takes over user datastore
  • DockerFile adds MongoDb
  • Custom endpoint commands add model option
  • Optimize uid logic consistency
  • 🌟 standardize all built-in plugins

Add

  • 🌟 Added config attribute to Function schema.
  • 🌟 added dependency dynaconf
  • 🌟 Added new module ServiceProvider to allow distribution brokers to control permission access themselves. Provides auth and get methods. Used for intranet privilege intervention, self-deployment customization mode, service provider self-deployment, proxy secondary key distribution.
  • Added mongodb database.
  • ✓ Daily access control enabled by default for public instances.
  • 🌟 Added Trigger access control for pre-message text checking, which can be used for specific character triggers to enable or deny.
  • 🌟 Added SERVICE_PROVIDER MONGODB_DSN environment variable
  • 🌟 added SystemPrompt registration class for plugins, allowing plugins to register additional SystemPrompts
  • 🌟 Added /token /token_clear token registration command to register secondary tokens. Added /func_ban /func_unban command to mask/unbind functions.