@ibiz-template-plugin/ai-chat 0.0.67 → 0.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -140,6 +140,10 @@ export interface IChat {
140
140
  * 作用域参数
141
141
  */
142
142
  srfScope?: string;
143
+ /**
144
+ * map参数
145
+ */
146
+ srfMcpservers?: string;
143
147
  /**
144
148
  * 传入当前资源作为用户消息(如果外部传入,在请求历史记录后,需要附加当前资源作为用户消息)
145
149
  */
@@ -249,7 +253,7 @@ export interface IChatOptions extends IChat {
249
253
  * @param {IChatMessage[]} question 提问历史内容(包含当前提问)
250
254
  * @return {*} {Promise<boolean>} 等待回答,用于显示 loading 并获取最终成功与否
251
255
  */
252
- question(aiChat: AiChatController, context: object, params: object, otherParams: object, question: IChatMessage[], sessionid: string, srfaiagent: string | undefined, srfmode: string | undefined, srfscope: string | undefined, srfaiknowledgebases: string | undefined, srfaiagentconfig: IAIAgentConfig | undefined): Promise<boolean>;
256
+ question(aiChat: AiChatController, context: object, params: object, otherParams: object, question: IChatMessage[], sessionid: string, srfaiagent: string | undefined, srfmode: string | undefined, srfscope: string | undefined, srfaiknowledgebases: string | undefined, srfaiagentconfig: IAIAgentConfig | undefined, appendcurdata: object | undefined, srfmcpservers: string | undefined): Promise<boolean>;
253
257
  /**
254
258
  * 中断消息
255
259
  * @param aiChat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template-plugin/ai-chat",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "description": "iBiz AI交互框插件",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",