@opentiny/next-remoter 0.2.6-beta.0 → 0.2.6-beta.1
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.
- package/dist/components/TinyRobotChat.vue.d.ts +9 -0
- package/dist/composable/CustomAgentModelProvider.d.ts +3 -1
- package/dist/next-remoter-runtime.es.js +22129 -22084
- package/dist/next-remoter.cjs.js +6 -6
- package/dist/next-remoter.css +1 -1
- package/dist/next-remoter.es.js +283 -275
- package/dist/style.css +1 -1
- package/dist/types/model-config.d.ts +1 -0
- package/package.json +2 -2
- /package/dist/components/{tokenUsage.vue.d.ts → TokenUsage.vue.d.ts} +0 -0
|
@@ -127,6 +127,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
127
127
|
type: () => "static" | "relative" | "absolute" | "fixed" | "sticky";
|
|
128
128
|
default: string;
|
|
129
129
|
};
|
|
130
|
+
debugStream: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
130
134
|
}>, {
|
|
131
135
|
/** 大模型代理 */
|
|
132
136
|
agent: import('@opentiny/next-sdk').AgentModelProvider;
|
|
@@ -350,6 +354,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
350
354
|
type: () => "static" | "relative" | "absolute" | "fixed" | "sticky";
|
|
351
355
|
default: string;
|
|
352
356
|
};
|
|
357
|
+
debugStream: {
|
|
358
|
+
type: BooleanConstructor;
|
|
359
|
+
default: boolean;
|
|
360
|
+
};
|
|
353
361
|
}>> & Readonly<{}>, {
|
|
354
362
|
title: string;
|
|
355
363
|
systemPrompt: string;
|
|
@@ -369,6 +377,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
369
377
|
llmConfigs: UnifiedModelConfig[];
|
|
370
378
|
skills: Record<string, string>;
|
|
371
379
|
layoutMode: "absolute" | "fixed" | "static" | "relative" | "sticky";
|
|
380
|
+
debugStream: boolean;
|
|
372
381
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
373
382
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
374
383
|
export default _default;
|
|
@@ -14,6 +14,7 @@ export declare class CustomAgentModelProvider extends BaseModelProvider {
|
|
|
14
14
|
llmConfig: ICustomAgentModelProviderLlmConfig;
|
|
15
15
|
/** 生成式UI启用状态 */
|
|
16
16
|
isGenuiEnabled?: Ref<boolean>;
|
|
17
|
+
debugStream: boolean;
|
|
17
18
|
constructor(config: AIModelConfig, systemPrompt: string, llmConfig?: ICustomAgentModelProviderLlmConfig);
|
|
18
19
|
/**
|
|
19
20
|
* 更新大语言模型配置
|
|
@@ -24,9 +25,10 @@ export declare class CustomAgentModelProvider extends BaseModelProvider {
|
|
|
24
25
|
* @param providerType 提供商类型
|
|
25
26
|
* @param useReActMode 是否使用 ReAct 模式
|
|
26
27
|
*/
|
|
27
|
-
updateLLMConfig({ modelId, baseURL, apiKey, providerType, useReActMode, llm, providerOptions, headers }: {
|
|
28
|
+
updateLLMConfig({ modelId, baseURL, genuiUrl, apiKey, providerType, useReActMode, llm, providerOptions, headers }: {
|
|
28
29
|
modelId: string;
|
|
29
30
|
baseURL?: string;
|
|
31
|
+
genuiUrl?: string;
|
|
30
32
|
apiKey?: string;
|
|
31
33
|
providerType?: 'deepseek' | 'openai' | ((options: any) => ProviderV2);
|
|
32
34
|
useReActMode?: boolean;
|