Skip to content

Releases: LlmKira/Openaibot

🥞 More Fix & Test

27 Oct 17:45
fb9fb47
Compare
Choose a tag to compare

lib0.26.0_preview

🔨Fix

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

Change

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

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


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.

[X] 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.

🍰 Slack Support

21 Oct 15:37
4b6543d
Compare
Choose a tag to compare

⚒ USER INTRO

Click Slack App Center:https://api.slack.com/apps/

Signing Secret at main page as SLACK_SIGNING_SECRET
App-Level Tokens at main as SLACK_APP_TOKEN
Bot User OAuth Token as SLACK_BOT_TOKEN at https://api.slack.com/apps//oauth?

GO https://app.slack.com/app-settings/..../...../socket-mode

  • turn on the Socket Mode

GO https://api.slack.com/apps/<app_id>/event-subscriptions

  • ENABLE Event Subscriptions
  • Subscribe to events on behalf of users message.channels message.im message.groups

GO https://api.slack.com/apps/...../oauth

  • Bot Token Scopes chat:write channels:read commands files:read files:write im:read im:history group:history im:write channel:write channel:history (Maybe some scope are extra...)

Reinstall APP,invite your bot to channel.... then @/BOT/ ,ok

🔨Fix

  • Fix kook

Change

  • simplify Receiver
  • Just Fix Some SMALL BUG

Add

  • Plugin OpenAPI file_match_required as re.compile return | file_match_required 属性排除相关插件

What's Changed

Full Changelog: lib0.25.4...lib0.25.5

🎮 Kook Support

20 Oct 18:27
86c67a9
Compare
Choose a tag to compare

⚒Attention

Discord fix: group
Discord Client 需要启用 Intent 鉴权才能正常启动!
https://discord.com/developers/

🔨Fix

  • Fix discord: Message:read Intent

Change

  • Support kook
  • some fix
  • rename some func in sender

Add

What's Changed

  • Fix discord Intent Reco|Kook Platform | fix some bug by @sudoskys in #293

Full Changelog: lib0.25.3...lib0.25.4

🎮 Discord Support

19 Oct 15:46
d746989
Compare
Choose a tag to compare

⚒Attention

We fixed a forensic issue and recommend you update to this version after!
我们修复了一个鉴权问题,推荐您更新到此版本之后!

🔨Fix

  • Fix a secure bug

Change

  • Better Schema
  • Better Prompt

What's Changed

Full Changelog: lib0.25.2...lib0.25.3

lib0.25.2

17 Oct 03:14
e4497c4
Compare
Choose a tag to compare

What's Changed

  • Plugin System:env_required by @sudoskys in #283
  • Bump corelib version to 0.25.2
  • Bump OpenAPI VERSION to 20231017

Full Changelog: lib0.25.1...lib0.25.2

Fix

15 Oct 16:30
623d478
Compare
Choose a tag to compare
lib0.25.1

fix

[lib0.25.0_fix] Stable

15 Oct 13:07
6256249
Compare
Choose a tag to compare

Fixed

  • fix Substring not found

Changed

  • add repeatable in class BaseTool

Added

Full Changelog: lib0.24.0_fix...lib0.25.0

[lib0.25.0] Stable Preview

15 Oct 13:04
7e78e90
Compare
Choose a tag to compare
Pre-release

Fixed

  • fix Substring not found

Changed

  • add repeatable in class BaseTool

Added

Full Changelog: lib0.24.0_fix...lib0.25.0

lib0.24.0_fix

14 Oct 17:01
fc7dd77
Compare
Choose a tag to compare

🔨 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.24.0

14 Oct 16:58
82b4c5b
Compare
Choose a tag to compare

🔨 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