Releases: LlmKira/Openaibot
🥞 More Fix & Test
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
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 toFunction
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
⚒ 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
asre.compile
return |file_match_required
属性排除相关插件
What's Changed
Full Changelog: lib0.25.4...lib0.25.5
🎮 Kook Support
⚒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
- require khl.py
What's Changed
Full Changelog: lib0.25.3...lib0.25.4
🎮 Discord Support
⚒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
- Change To Apache License by @sudoskys in #285
- Media Converter by @sudoskys in #286
- Discord Pair by @sudoskys in #287
Full Changelog: lib0.25.2...lib0.25.3
lib0.25.2
Fix
[lib0.25.0_fix] Stable
Fixed
- fix
Substring not found
Changed
- add
repeatable
in classBaseTool
Added
Full Changelog: lib0.24.0_fix...lib0.25.0
[lib0.25.0] Stable Preview
Fixed
- fix
Substring not found
Changed
- add
repeatable
in classBaseTool
Added
Full Changelog: lib0.24.0_fix...lib0.25.0
lib0.24.0_fix
🔨 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
- 提供统一的 OPENAPI 供插件生态使用 exp:https://github.com/LlmKira/llmbot_plugin_bilisearch
- 可下载的包序列
pip install -U llmbot
- 程序包CI
- 对 RabbitMQ 任务模组序列元信息的验证logger
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
- Provide unified OPENAPI for plugin ecology. exp:https://github.com/LlmKira/llmbot_plugin_bilisearch
- Downloadable package sequences `pip install -U llmbot
- Package CI
- Validation of RabbitMQ task module sequence meta-information logger
0.24.0
🔨 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
- 提供统一的 OPENAPI 供插件生态使用 exp:https://github.com/LlmKira/llmbot_plugin_bilisearch
- 可下载的包序列
pip install -U llmbot
- 程序包CI
- 对 RabbitMQ 任务模组序列元信息的验证logger
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
- Provide unified OPENAPI for plugin ecology. exp:https://github.com/LlmKira/llmbot_plugin_bilisearch
- Downloadable package sequences `pip install -U llmbot
- Package CI
- Validation of RabbitMQ task module sequence meta-information logger