Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AI 小鲸后台服务

本插件需与智能体模板配合使用,用于开发和管理智能体插件。

审批 Web 回调与企业微信跨进程联动见 DatabaseEventBus 使用说明。

管理命令的指标和 Trace 采集

通过 manage.py 或 django-admin 运行一次性管理命令(如 migrate、 collectstatic、shell)时,插件同时关闭指标和 Trace,避免进程退出时等待上报, 也不会为初始化 OT 获取远程配置。 该策略同时覆盖直连 OTLP 和经 Celery 上报,即使环境或平台配置启用了指标也不会启动。

runserver、celery(含 worker/beat)、run_wxaibot_ws 保留原有指标和 Trace 配置; 直接启动的 Gunicorn、Celery 不受影响。常规应用日志不变。 策略位于插件初始化入口,已有模板升级插件即可生效,无需修改 bin/manage.py。

本地调试智能体插件

环境准备

在开始前,请确保已安装以下工具:

  • uv: Python 包管理工具
  • cookiecutter: 项目模板工具

SDK 打包

在 Git 仓库根目录执行以下命令,构建小鲸智能体插件:

make build-aidev-bkplugin

生成测试智能体

使用 cookiecutter 快速生成示例智能体,可在任意目录执行:

GIT_ROOT=$(git rev-parse --show-toplevel)
cd /tmp
python -m cookiecutter ${GIT_ROOT} --directory template/builtin --no-input

Metadata

Release files for aidev-bkplugin 2.2.2rc49

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aidev-bkplugin 2.2.2rc49
File Size Uploaded
aidev_bkplugin-2.2.2rc49.tar.gz 126.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aidev-bkplugin 2.2.2rc49
File Interpreter ABI Platform
aidev_bkplugin-2.2.2rc49-py3-none-any.whl Python 3 none any Details

Total release size: 234.4 kB

Release files / aidev_bkplugin-2.2.2rc49.tar.gz

Download URL aidev_bkplugin-2.2.2rc49.tar.gz
Size 126.3 kB
Tags Source
SHA-256 checksum
How to use checksums
353b9b1cd4919486f07ec5cd746e472b3c6a6fd342429be5ae0f2b2a35b11aeb
BLAKE2b-256 checksum
How to use checksums
4e484f06beea6581b4e8772d0827c8bc47971700a7f946331746dca5d00c28de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"11","id":"bullseye","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / aidev_bkplugin-2.2.2rc49-py3-none-any.whl

Download URL aidev_bkplugin-2.2.2rc49-py3-none-any.whl
Size 108.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f603ea72a2125aa32fe05018408600aaa96d2e14be5f73a9a2fdb8cdac409af
BLAKE2b-256 checksum
How to use checksums
b0e0f9c90a375980811dba817e75a8fae9aa627415ded9ed9225f1fb188e2838
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"11","id":"bullseye","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

2.4.0

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

This release

2.2.2rc49 This release

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.13

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.2

1 release file

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page