Skip to content

内置扩展已启用但是没有调用插件 #8336

@YanHua95

Description

@YanHua95

问题描述

本地开发将插件配置为内置扩展,但是没有调用插件返回插件ui,只有通过安装第三方插件的方式才正常调用插件。
已经在src/tools/index.ts文件添加本地的插件作为内置扩展,配置如下
export const builtinTools: LobeBuiltinTool[] = [ { identifier: FormulaMaster.identifier, manifest: FormulaMaster, type: 'builtin', }, ];

manifest属性值如下,为插件manifest配置
{ $schema: "../../../../../../node_modules/@lobehub/chat-plugin-sdk/schema.json", api: [ { url: "http://localhost:3010/plugin/formula-master/api/generate-formula", name: "generate-formula", description: "根据配方需求,生成配方", parameters: { properties: { priceRequirement: { description: "价格要求", type: "string" }, }, required: [], type: "object" } } ], gateway: "http://localhost:3010/plugin/gateway", author: "jarvis", createdAt: "2025-06-27", identifier: "formula-master", meta: { avatar: "🔥", title: "助手大师", description: "生成配方,优化配方" }, type: "standalone", ui: { url: "http://localhost:3010/plugin/formula-master/ui", height: 200 }, version: "1", systemRole: "" }

实际效果

实际效果只是思考生成插件所需的参数,但是没有调用插件
实际效果

期望效果

期望效果调用插件返回插件ui
期望效果

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions