@opentiny/next-remoter 0.2.6 → 0.2.7

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.
@@ -32,4 +32,5 @@ export type UnifiedModelConfig = ICustomAgentModelProviderLlmConfig & {
32
32
  description?: string;
33
33
  /** 多模态能力配置 Multimodal capability configuration */
34
34
  multimodal?: MultimodalCapability;
35
+ genuiUrl?: string;
35
36
  };
@@ -22,13 +22,5 @@ export type ICustomAgentModelProviderLlmConfig = IAgentModelProviderLlmConfig &
22
22
  * 适用于需要在每次请求时携带特定 Header 的场景(如鉴权、链路追踪等)
23
23
  */
24
24
  headers?: Record<string, string>;
25
- /**
26
- * 在 chatStream 调用前执行的钩子函数
27
- * 可用于修改消息内容,例如自动添加截图
28
- * @param lastUserMsg 最后一条用户消息
29
- * @param systemPrompt 当前系统提示词
30
- * @returns 修改后的用户消息(可以是多模态消息)
31
- */
32
- beforeChatStream?: (lastUserMsg: any, systemPrompt: string) => Promise<any> | any;
33
25
  };
34
26
  export type ICustomMarketMcpServers = PluginInfo[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/next-remoter",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "type": "module",
5
5
  "homepage": "https://docs.opentiny.design/next-sdk/guide/tiny-robot-remoter.html",
6
6
  "repository": {
@@ -48,7 +48,7 @@
48
48
  "@ai-sdk/openai": "^3.0.0",
49
49
  "@ai-sdk/provider": "^3.0.0",
50
50
  "@ai-sdk/provider-utils": "^4.0.14",
51
- "@opentiny/next-sdk": "0.2.6"
51
+ "@opentiny/next-sdk": "0.2.7"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@opentiny/unplugin-tiny-vue": "^1.0.0",