Files

15 lines
772 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 内置插件专属依赖清单(打包收集用)
#
# 什么时候写这里:插件用了「网关本体不 import」的第三方包(如 openai / httpx / minio)。
# 这些包在 .mbank 内 import,PyInstaller/Nuitka 静态分析看不到,必须显式声明,
# 否则产物运行到加载插件时才 ImportError。
#
# 同时记得在根 pyproject.toml 的 dependencies 里安装(dev 运行 inline 插件与打包共用同一 venv)。
# 插件改为 external 进程插件后不需要本文件:依赖随插件项目 workers/<name>/pyproject.toml 自包含。
#
# 结构(节名 = src/plugins/ 下的插件名;顶层 imports 为多个插件共用):
# imports = ["httpx"]
#
# [doubao]
# imports = ["openai", "volcenginesdkarkruntime"]