@8wave/ai-elements 0.101.0-beta.3 → 0.101.0-beta.5
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/_chunks/Agent-DMCeO6o-.js +446 -0
- package/dist/_chunks/Agent-DMCeO6o-.js.map +1 -0
- package/dist/_chunks/{Document-DS83LkQj.js → Document-C1Fp99qu.js} +2 -2
- package/dist/_chunks/{Document-DS83LkQj.js.map → Document-C1Fp99qu.js.map} +1 -1
- package/dist/_chunks/{Media-CvHHwE7y.js → Media-c-RubI3_.js} +5 -3
- package/dist/_chunks/Media-c-RubI3_.js.map +1 -0
- package/dist/_chunks/{PkToolRequestGeolocation-OGFqRvLA.js → PkToolRequestGeolocation-OZYwTIls.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-OGFqRvLA.js.map → PkToolRequestGeolocation-OZYwTIls.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-CkSA6iKU.js → PkToolRequestOAuthConnection-HmWtu2b3.js} +2 -2
- package/{dist-vue/_chunks/PkToolRequestOAuthConnection-eW8DmH4-.js.map → dist/_chunks/PkToolRequestOAuthConnection-HmWtu2b3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-D0q4LtUx.js → PkToolShowForm-BzopoW7z.js} +2 -2
- package/dist/_chunks/{PkToolShowForm-D0q4LtUx.js.map → PkToolShowForm-BzopoW7z.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-wsRRKYe3.js → PkToolShowSources-Blw5XOA7.js} +2 -2
- package/dist/_chunks/{PkToolShowSources-wsRRKYe3.js.map → PkToolShowSources-Blw5XOA7.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-Dlm9CXCz.js → PkToolShowSuggestedReply-nsXsvLUW.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-Dlm9CXCz.js.map → PkToolShowSuggestedReply-nsXsvLUW.js.map} +1 -1
- package/dist/ai-elements.es.js +28 -15
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/Agent-WEwgRwnY.js +539 -0
- package/dist-vue/_chunks/Agent-WEwgRwnY.js.map +1 -0
- package/dist-vue/_chunks/{Document-DjpLDjCX.js → Document-Vx3oKWp3.js} +10 -10
- package/dist-vue/_chunks/{Document-DjpLDjCX.js.map → Document-Vx3oKWp3.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-CcvW0Nkc.js → PkChatbot-1Y7fGR-C.js} +7 -7
- package/dist-vue/_chunks/{PkChatbot-CcvW0Nkc.js.map → PkChatbot-1Y7fGR-C.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-DXfytcYV.js → PkChatbotMessages-C6X92Igt.js} +10 -10
- package/dist-vue/_chunks/{PkChatbotMessages-DXfytcYV.js.map → PkChatbotMessages-C6X92Igt.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CtGrjHO0.js → PkChatbotStepToolDetail-BBX4KL3d.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CtGrjHO0.js.map → PkChatbotStepToolDetail-BBX4KL3d.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-Bbuh0hgL.js → PkChatbotSteps-DlZpwc_a.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotSteps-Bbuh0hgL.js.map → PkChatbotSteps-DlZpwc_a.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-CAxNWTBJ.js → PkChatbotViewChat-CBvcSg0J.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotViewChat-CAxNWTBJ.js.map → PkChatbotViewChat-CBvcSg0J.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-BhLswQyH.js → PkChatbotViewConversations-BT5ojZEm.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-BhLswQyH.js.map → PkChatbotViewConversations-BT5ojZEm.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-DyWppF9_.js → PkChatbotViewFiles-DHzFAQZP.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-DyWppF9_.js.map → PkChatbotViewFiles-DHzFAQZP.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-DXPa3C1j.js → PkChatbotViewProfile-DgN0Pydw.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-DXPa3C1j.js.map → PkChatbotViewProfile-DgN0Pydw.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-C6bqSBj-.js → PkToolRequestGeolocation-B1K2fN7U.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-C6bqSBj-.js.map → PkToolRequestGeolocation-B1K2fN7U.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-eW8DmH4-.js → PkToolRequestOAuthConnection-D-qoxuPc.js} +2 -2
- package/{dist/_chunks/PkToolRequestOAuthConnection-CkSA6iKU.js.map → dist-vue/_chunks/PkToolRequestOAuthConnection-D-qoxuPc.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-8m2w-oeq.js → PkToolShowDiagram-BvOy4aeQ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-8m2w-oeq.js.map → PkToolShowDiagram-BvOy4aeQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-BHbyMNqv.js → PkToolShowForm-BzzeoKss.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowForm-BHbyMNqv.js.map → PkToolShowForm-BzzeoKss.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-CqeuJ0tV.js → PkToolShowSources-DdfHFaPA.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-CqeuJ0tV.js.map → PkToolShowSources-DdfHFaPA.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-gttr-BH6.js → PkToolShowSuggestedReply-DSd1dnZM.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-gttr-BH6.js.map → PkToolShowSuggestedReply-DSd1dnZM.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-L1dBY3cD.js → createChatbotApiClient-xbpuy6e1.js} +12 -12
- package/dist-vue/_chunks/createChatbotApiClient-xbpuy6e1.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-CNWLZ-OT.js → useChatbotStore-DWLLr7sg.js} +2 -2
- package/dist-vue/_chunks/{useChatbotStore-CNWLZ-OT.js.map → useChatbotStore-DWLLr7sg.js.map} +1 -1
- package/dist-vue/_chunks/{utils-Bf73GiBm.js → utils-CgxndZld.js} +2 -2
- package/dist-vue/_chunks/{utils-Bf73GiBm.js.map → utils-CgxndZld.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +3 -3
- package/dist-vue/index.js +3576 -3667
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +2 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +32 -2
- package/dist-vue/packages/components/src/chat/PkReasoningSettings.d.ts +32 -2
- package/dist-vue/packages/components/src/chat/constants.d.ts +8 -2
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +96 -6
- package/dist-vue/packages/models/src/schema/Agent.d.ts +314 -4
- package/dist-vue/packages/models/src/schema/Chat.d.ts +51 -0
- package/dist-vue/packages/models/src/schema/ConversationAnalysis.d.ts +1 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +102 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +102 -0
- package/dist-vue/packages/models/src/schema/constants.d.ts +30 -14
- package/package.json +1 -1
- package/dist/_chunks/Agent-DBVPAS7y.js +0 -404
- package/dist/_chunks/Agent-DBVPAS7y.js.map +0 -1
- package/dist/_chunks/Media-CvHHwE7y.js.map +0 -1
- package/dist-vue/_chunks/Agent-KKRQyO8u.js +0 -486
- package/dist-vue/_chunks/Agent-KKRQyO8u.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-L1dBY3cD.js.map +0 -1
|
@@ -22,15 +22,29 @@ export declare enum AgentSearchMode {
|
|
|
22
22
|
/**
|
|
23
23
|
* Provider-specific reasoning configurations.
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* Four providers have a reasoning API of their own to model:
|
|
26
26
|
* - OpenAI (GPT-5, o-series): `reasoningEffort` + `reasoningSummary`
|
|
27
27
|
* - Anthropic (Claude 4.6+): adaptive thinking with `effort` levels, or legacy `budgetTokens`
|
|
28
28
|
* - Google (Gemini 3/3.1): `thinkingLevel`; Gemini 2.5: `thinkingBudget`
|
|
29
29
|
* - DeepSeek: on/off thinking toggle
|
|
30
30
|
*
|
|
31
|
+
* Everything else in the catalog (Alibaba, Meta, Moonshot AI, xAI, z.ai) is one
|
|
32
|
+
* effort level and shares {@link GenericReasoningSchema}.
|
|
33
|
+
*
|
|
31
34
|
* Only the matching provider's config is used at runtime (based on model prefix).
|
|
32
35
|
* Admins can pre-configure multiple providers for easy model switching.
|
|
33
36
|
*/
|
|
37
|
+
/**
|
|
38
|
+
* Levels each provider accepts, exported so the agent form builds its fields
|
|
39
|
+
* from the same list the request is validated against. They were written twice,
|
|
40
|
+
* once here and once in the template, and the two drifted: `max` reached the
|
|
41
|
+
* OpenAI API with the 5.6 family and was added to the form for Anthropic only,
|
|
42
|
+
* so an OpenAI agent could not be configured for a level the provider had.
|
|
43
|
+
*/
|
|
44
|
+
export declare const OPENAI_REASONING_EFFORTS: readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
45
|
+
export declare const ANTHROPIC_THINKING_EFFORTS: readonly ["low", "medium", "high", "xhigh", "max"];
|
|
46
|
+
export declare const GOOGLE_THINKING_LEVELS: readonly ["minimal", "low", "medium", "high"];
|
|
47
|
+
export declare const OPENAI_REASONING_SUMMARIES: readonly ["auto", "detailed", "concise"];
|
|
34
48
|
export declare const OpenAIReasoningSchema: z.ZodObject<{
|
|
35
49
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
36
50
|
none: "none";
|
|
@@ -38,6 +52,7 @@ export declare const OpenAIReasoningSchema: z.ZodObject<{
|
|
|
38
52
|
medium: "medium";
|
|
39
53
|
high: "high";
|
|
40
54
|
xhigh: "xhigh";
|
|
55
|
+
max: "max";
|
|
41
56
|
}>>;
|
|
42
57
|
reasoningSummary: z.ZodOptional<z.ZodEnum<{
|
|
43
58
|
auto: "auto";
|
|
@@ -84,6 +99,39 @@ export declare const DeepSeekReasoningSchema: z.ZodObject<{
|
|
|
84
99
|
}>>;
|
|
85
100
|
}, z.core.$strip>;
|
|
86
101
|
export type DeepSeekReasoning = z.infer<typeof DeepSeekReasoningSchema>;
|
|
102
|
+
/**
|
|
103
|
+
* Providers whose whole reasoning configuration is one effort level.
|
|
104
|
+
*
|
|
105
|
+
* They expose no reasoning API of their own to model: the standardized AI SDK
|
|
106
|
+
* effort is the only knob, and the gateway maps it onto whatever each model
|
|
107
|
+
* accepts. One shape covers them all, so a new brand costs a line here instead
|
|
108
|
+
* of a schema, a runtime branch and a form.
|
|
109
|
+
*
|
|
110
|
+
* Verified against the gateway on 2026-08-25: every catalog model of these
|
|
111
|
+
* families advertises the `reasoning` parameter, a family that only offers
|
|
112
|
+
* `high`/`xhigh` clamps a lower level instead of rejecting the request, and
|
|
113
|
+
* `none` does bring reasoning tokens to zero.
|
|
114
|
+
*/
|
|
115
|
+
export declare const GENERIC_REASONING_PROVIDERS: readonly ["alibaba", "meta", "moonshotai", "xai", "zai"];
|
|
116
|
+
export type GenericReasoningProvider = (typeof GENERIC_REASONING_PROVIDERS)[number];
|
|
117
|
+
export declare function isGenericReasoningProvider(provider: string): provider is GenericReasoningProvider;
|
|
118
|
+
/**
|
|
119
|
+
* The standardized AI SDK effort union minus `provider-default`, which is what
|
|
120
|
+
* an absent configuration already means: offering it as a value would give the
|
|
121
|
+
* form two ways to say the same thing.
|
|
122
|
+
*/
|
|
123
|
+
export declare const GENERIC_REASONING_EFFORTS: readonly ["none", "minimal", "low", "medium", "high", "xhigh"];
|
|
124
|
+
export declare const GenericReasoningSchema: z.ZodObject<{
|
|
125
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
126
|
+
none: "none";
|
|
127
|
+
low: "low";
|
|
128
|
+
medium: "medium";
|
|
129
|
+
high: "high";
|
|
130
|
+
xhigh: "xhigh";
|
|
131
|
+
minimal: "minimal";
|
|
132
|
+
}>>;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
export type GenericReasoning = z.infer<typeof GenericReasoningSchema>;
|
|
87
135
|
export declare const AgentReasoningSchema: z.ZodOptional<z.ZodCodec<z.ZodUnknown, z.ZodObject<{
|
|
88
136
|
openai: z.ZodOptional<z.ZodObject<{
|
|
89
137
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
@@ -92,6 +140,7 @@ export declare const AgentReasoningSchema: z.ZodOptional<z.ZodCodec<z.ZodUnknown
|
|
|
92
140
|
medium: "medium";
|
|
93
141
|
high: "high";
|
|
94
142
|
xhigh: "xhigh";
|
|
143
|
+
max: "max";
|
|
95
144
|
}>>;
|
|
96
145
|
reasoningSummary: z.ZodOptional<z.ZodEnum<{
|
|
97
146
|
auto: "auto";
|
|
@@ -134,6 +183,56 @@ export declare const AgentReasoningSchema: z.ZodOptional<z.ZodCodec<z.ZodUnknown
|
|
|
134
183
|
enabled: "enabled";
|
|
135
184
|
}>>;
|
|
136
185
|
}, z.core.$strip>>;
|
|
186
|
+
alibaba: z.ZodOptional<z.ZodObject<{
|
|
187
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
188
|
+
none: "none";
|
|
189
|
+
low: "low";
|
|
190
|
+
medium: "medium";
|
|
191
|
+
high: "high";
|
|
192
|
+
xhigh: "xhigh";
|
|
193
|
+
minimal: "minimal";
|
|
194
|
+
}>>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
197
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
198
|
+
none: "none";
|
|
199
|
+
low: "low";
|
|
200
|
+
medium: "medium";
|
|
201
|
+
high: "high";
|
|
202
|
+
xhigh: "xhigh";
|
|
203
|
+
minimal: "minimal";
|
|
204
|
+
}>>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
moonshotai: z.ZodOptional<z.ZodObject<{
|
|
207
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
208
|
+
none: "none";
|
|
209
|
+
low: "low";
|
|
210
|
+
medium: "medium";
|
|
211
|
+
high: "high";
|
|
212
|
+
xhigh: "xhigh";
|
|
213
|
+
minimal: "minimal";
|
|
214
|
+
}>>;
|
|
215
|
+
}, z.core.$strip>>;
|
|
216
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
217
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
218
|
+
none: "none";
|
|
219
|
+
low: "low";
|
|
220
|
+
medium: "medium";
|
|
221
|
+
high: "high";
|
|
222
|
+
xhigh: "xhigh";
|
|
223
|
+
minimal: "minimal";
|
|
224
|
+
}>>;
|
|
225
|
+
}, z.core.$strip>>;
|
|
226
|
+
zai: z.ZodOptional<z.ZodObject<{
|
|
227
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
none: "none";
|
|
229
|
+
low: "low";
|
|
230
|
+
medium: "medium";
|
|
231
|
+
high: "high";
|
|
232
|
+
xhigh: "xhigh";
|
|
233
|
+
minimal: "minimal";
|
|
234
|
+
}>>;
|
|
235
|
+
}, z.core.$strip>>;
|
|
137
236
|
}, z.core.$strip>>>;
|
|
138
237
|
export type AgentReasoning = z.infer<typeof AgentReasoningSchema>;
|
|
139
238
|
/** Provider an agent model belongs to, from its `provider/model` id. */
|
|
@@ -151,9 +250,16 @@ export declare function modelProvider(model: string): string;
|
|
|
151
250
|
* agent stops deliberating entirely, and that is a worse trade than the latency
|
|
152
251
|
* it would buy.
|
|
153
252
|
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
253
|
+
* The single-level providers are here for the same reason, and it is measured
|
|
254
|
+
* on them too: on 2026-08-25 a one-token `hi` sent to `xai/grok-4.6` with no
|
|
255
|
+
* directive came back having spent 37 reasoning tokens, and 0 with an explicit
|
|
256
|
+
* `none`. They accept the level (out-of-range clamps, it does not 400), so
|
|
257
|
+
* there is no reason to leave them on a default nobody chose.
|
|
258
|
+
*
|
|
259
|
+
* DeepSeek is deliberately absent: its thinking is model-intrinsic and its
|
|
260
|
+
* configuration here is a bare on/off toggle, with no level to ask for, so a
|
|
261
|
+
* blanket directive could contradict the model itself. It is now the only
|
|
262
|
+
* provider left on the provider's own default, and it stays there until someone
|
|
157
263
|
* measures that family.
|
|
158
264
|
*/
|
|
159
265
|
export declare const DEFAULT_REASONING_BY_PROVIDER: NonNullable<AgentReasoning>;
|
|
@@ -686,6 +792,7 @@ export declare const AgentModelSchema: z.ZodObject<{
|
|
|
686
792
|
medium: "medium";
|
|
687
793
|
high: "high";
|
|
688
794
|
xhigh: "xhigh";
|
|
795
|
+
max: "max";
|
|
689
796
|
}>>;
|
|
690
797
|
reasoningSummary: z.ZodOptional<z.ZodEnum<{
|
|
691
798
|
auto: "auto";
|
|
@@ -728,6 +835,56 @@ export declare const AgentModelSchema: z.ZodObject<{
|
|
|
728
835
|
enabled: "enabled";
|
|
729
836
|
}>>;
|
|
730
837
|
}, z.core.$strip>>;
|
|
838
|
+
alibaba: z.ZodOptional<z.ZodObject<{
|
|
839
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
840
|
+
none: "none";
|
|
841
|
+
low: "low";
|
|
842
|
+
medium: "medium";
|
|
843
|
+
high: "high";
|
|
844
|
+
xhigh: "xhigh";
|
|
845
|
+
minimal: "minimal";
|
|
846
|
+
}>>;
|
|
847
|
+
}, z.core.$strip>>;
|
|
848
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
849
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
850
|
+
none: "none";
|
|
851
|
+
low: "low";
|
|
852
|
+
medium: "medium";
|
|
853
|
+
high: "high";
|
|
854
|
+
xhigh: "xhigh";
|
|
855
|
+
minimal: "minimal";
|
|
856
|
+
}>>;
|
|
857
|
+
}, z.core.$strip>>;
|
|
858
|
+
moonshotai: z.ZodOptional<z.ZodObject<{
|
|
859
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
860
|
+
none: "none";
|
|
861
|
+
low: "low";
|
|
862
|
+
medium: "medium";
|
|
863
|
+
high: "high";
|
|
864
|
+
xhigh: "xhigh";
|
|
865
|
+
minimal: "minimal";
|
|
866
|
+
}>>;
|
|
867
|
+
}, z.core.$strip>>;
|
|
868
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
869
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
870
|
+
none: "none";
|
|
871
|
+
low: "low";
|
|
872
|
+
medium: "medium";
|
|
873
|
+
high: "high";
|
|
874
|
+
xhigh: "xhigh";
|
|
875
|
+
minimal: "minimal";
|
|
876
|
+
}>>;
|
|
877
|
+
}, z.core.$strip>>;
|
|
878
|
+
zai: z.ZodOptional<z.ZodObject<{
|
|
879
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
880
|
+
none: "none";
|
|
881
|
+
low: "low";
|
|
882
|
+
medium: "medium";
|
|
883
|
+
high: "high";
|
|
884
|
+
xhigh: "xhigh";
|
|
885
|
+
minimal: "minimal";
|
|
886
|
+
}>>;
|
|
887
|
+
}, z.core.$strip>>;
|
|
731
888
|
}, z.core.$strip>>>;
|
|
732
889
|
ranking: z.ZodDefault<z.ZodOptional<z.ZodPrefault<z.ZodObject<{
|
|
733
890
|
freshness: z.ZodPrefault<z.ZodObject<{
|
|
@@ -1039,6 +1196,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
|
|
|
1039
1196
|
medium: "medium";
|
|
1040
1197
|
high: "high";
|
|
1041
1198
|
xhigh: "xhigh";
|
|
1199
|
+
max: "max";
|
|
1042
1200
|
}>>;
|
|
1043
1201
|
reasoningSummary: z.ZodOptional<z.ZodEnum<{
|
|
1044
1202
|
auto: "auto";
|
|
@@ -1081,6 +1239,56 @@ export declare const AgentSettingsSchema: z.ZodObject<{
|
|
|
1081
1239
|
enabled: "enabled";
|
|
1082
1240
|
}>>;
|
|
1083
1241
|
}, z.core.$strip>>;
|
|
1242
|
+
alibaba: z.ZodOptional<z.ZodObject<{
|
|
1243
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1244
|
+
none: "none";
|
|
1245
|
+
low: "low";
|
|
1246
|
+
medium: "medium";
|
|
1247
|
+
high: "high";
|
|
1248
|
+
xhigh: "xhigh";
|
|
1249
|
+
minimal: "minimal";
|
|
1250
|
+
}>>;
|
|
1251
|
+
}, z.core.$strip>>;
|
|
1252
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1253
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1254
|
+
none: "none";
|
|
1255
|
+
low: "low";
|
|
1256
|
+
medium: "medium";
|
|
1257
|
+
high: "high";
|
|
1258
|
+
xhigh: "xhigh";
|
|
1259
|
+
minimal: "minimal";
|
|
1260
|
+
}>>;
|
|
1261
|
+
}, z.core.$strip>>;
|
|
1262
|
+
moonshotai: z.ZodOptional<z.ZodObject<{
|
|
1263
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1264
|
+
none: "none";
|
|
1265
|
+
low: "low";
|
|
1266
|
+
medium: "medium";
|
|
1267
|
+
high: "high";
|
|
1268
|
+
xhigh: "xhigh";
|
|
1269
|
+
minimal: "minimal";
|
|
1270
|
+
}>>;
|
|
1271
|
+
}, z.core.$strip>>;
|
|
1272
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
1273
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1274
|
+
none: "none";
|
|
1275
|
+
low: "low";
|
|
1276
|
+
medium: "medium";
|
|
1277
|
+
high: "high";
|
|
1278
|
+
xhigh: "xhigh";
|
|
1279
|
+
minimal: "minimal";
|
|
1280
|
+
}>>;
|
|
1281
|
+
}, z.core.$strip>>;
|
|
1282
|
+
zai: z.ZodOptional<z.ZodObject<{
|
|
1283
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1284
|
+
none: "none";
|
|
1285
|
+
low: "low";
|
|
1286
|
+
medium: "medium";
|
|
1287
|
+
high: "high";
|
|
1288
|
+
xhigh: "xhigh";
|
|
1289
|
+
minimal: "minimal";
|
|
1290
|
+
}>>;
|
|
1291
|
+
}, z.core.$strip>>;
|
|
1084
1292
|
}, z.core.$strip>>>;
|
|
1085
1293
|
ranking: z.ZodDefault<z.ZodOptional<z.ZodPrefault<z.ZodObject<{
|
|
1086
1294
|
freshness: z.ZodPrefault<z.ZodObject<{
|
|
@@ -1382,6 +1590,7 @@ export declare const AgentDtoSchema: z.ZodObject<{
|
|
|
1382
1590
|
medium: "medium";
|
|
1383
1591
|
high: "high";
|
|
1384
1592
|
xhigh: "xhigh";
|
|
1593
|
+
max: "max";
|
|
1385
1594
|
}>>;
|
|
1386
1595
|
reasoningSummary: z.ZodOptional<z.ZodEnum<{
|
|
1387
1596
|
auto: "auto";
|
|
@@ -1424,6 +1633,56 @@ export declare const AgentDtoSchema: z.ZodObject<{
|
|
|
1424
1633
|
enabled: "enabled";
|
|
1425
1634
|
}>>;
|
|
1426
1635
|
}, z.core.$strip>>;
|
|
1636
|
+
alibaba: z.ZodOptional<z.ZodObject<{
|
|
1637
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1638
|
+
none: "none";
|
|
1639
|
+
low: "low";
|
|
1640
|
+
medium: "medium";
|
|
1641
|
+
high: "high";
|
|
1642
|
+
xhigh: "xhigh";
|
|
1643
|
+
minimal: "minimal";
|
|
1644
|
+
}>>;
|
|
1645
|
+
}, z.core.$strip>>;
|
|
1646
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1647
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1648
|
+
none: "none";
|
|
1649
|
+
low: "low";
|
|
1650
|
+
medium: "medium";
|
|
1651
|
+
high: "high";
|
|
1652
|
+
xhigh: "xhigh";
|
|
1653
|
+
minimal: "minimal";
|
|
1654
|
+
}>>;
|
|
1655
|
+
}, z.core.$strip>>;
|
|
1656
|
+
moonshotai: z.ZodOptional<z.ZodObject<{
|
|
1657
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1658
|
+
none: "none";
|
|
1659
|
+
low: "low";
|
|
1660
|
+
medium: "medium";
|
|
1661
|
+
high: "high";
|
|
1662
|
+
xhigh: "xhigh";
|
|
1663
|
+
minimal: "minimal";
|
|
1664
|
+
}>>;
|
|
1665
|
+
}, z.core.$strip>>;
|
|
1666
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
1667
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1668
|
+
none: "none";
|
|
1669
|
+
low: "low";
|
|
1670
|
+
medium: "medium";
|
|
1671
|
+
high: "high";
|
|
1672
|
+
xhigh: "xhigh";
|
|
1673
|
+
minimal: "minimal";
|
|
1674
|
+
}>>;
|
|
1675
|
+
}, z.core.$strip>>;
|
|
1676
|
+
zai: z.ZodOptional<z.ZodObject<{
|
|
1677
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
1678
|
+
none: "none";
|
|
1679
|
+
low: "low";
|
|
1680
|
+
medium: "medium";
|
|
1681
|
+
high: "high";
|
|
1682
|
+
xhigh: "xhigh";
|
|
1683
|
+
minimal: "minimal";
|
|
1684
|
+
}>>;
|
|
1685
|
+
}, z.core.$strip>>;
|
|
1427
1686
|
}, z.core.$strip>>>;
|
|
1428
1687
|
ranking: z.ZodDefault<z.ZodOptional<z.ZodPrefault<z.ZodObject<{
|
|
1429
1688
|
freshness: z.ZodPrefault<z.ZodObject<{
|
|
@@ -1726,6 +1985,7 @@ export declare const AgentSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1726
1985
|
medium: "medium";
|
|
1727
1986
|
high: "high";
|
|
1728
1987
|
xhigh: "xhigh";
|
|
1988
|
+
max: "max";
|
|
1729
1989
|
}>>;
|
|
1730
1990
|
reasoningSummary: z.ZodOptional<z.ZodEnum<{
|
|
1731
1991
|
auto: "auto";
|
|
@@ -1768,6 +2028,56 @@ export declare const AgentSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1768
2028
|
enabled: "enabled";
|
|
1769
2029
|
}>>;
|
|
1770
2030
|
}, z.core.$strip>>;
|
|
2031
|
+
alibaba: z.ZodOptional<z.ZodObject<{
|
|
2032
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2033
|
+
none: "none";
|
|
2034
|
+
low: "low";
|
|
2035
|
+
medium: "medium";
|
|
2036
|
+
high: "high";
|
|
2037
|
+
xhigh: "xhigh";
|
|
2038
|
+
minimal: "minimal";
|
|
2039
|
+
}>>;
|
|
2040
|
+
}, z.core.$strip>>;
|
|
2041
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2042
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2043
|
+
none: "none";
|
|
2044
|
+
low: "low";
|
|
2045
|
+
medium: "medium";
|
|
2046
|
+
high: "high";
|
|
2047
|
+
xhigh: "xhigh";
|
|
2048
|
+
minimal: "minimal";
|
|
2049
|
+
}>>;
|
|
2050
|
+
}, z.core.$strip>>;
|
|
2051
|
+
moonshotai: z.ZodOptional<z.ZodObject<{
|
|
2052
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2053
|
+
none: "none";
|
|
2054
|
+
low: "low";
|
|
2055
|
+
medium: "medium";
|
|
2056
|
+
high: "high";
|
|
2057
|
+
xhigh: "xhigh";
|
|
2058
|
+
minimal: "minimal";
|
|
2059
|
+
}>>;
|
|
2060
|
+
}, z.core.$strip>>;
|
|
2061
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
2062
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2063
|
+
none: "none";
|
|
2064
|
+
low: "low";
|
|
2065
|
+
medium: "medium";
|
|
2066
|
+
high: "high";
|
|
2067
|
+
xhigh: "xhigh";
|
|
2068
|
+
minimal: "minimal";
|
|
2069
|
+
}>>;
|
|
2070
|
+
}, z.core.$strip>>;
|
|
2071
|
+
zai: z.ZodOptional<z.ZodObject<{
|
|
2072
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2073
|
+
none: "none";
|
|
2074
|
+
low: "low";
|
|
2075
|
+
medium: "medium";
|
|
2076
|
+
high: "high";
|
|
2077
|
+
xhigh: "xhigh";
|
|
2078
|
+
minimal: "minimal";
|
|
2079
|
+
}>>;
|
|
2080
|
+
}, z.core.$strip>>;
|
|
1771
2081
|
}, z.core.$strip>>>;
|
|
1772
2082
|
ranking: z.ZodDefault<z.ZodOptional<z.ZodPrefault<z.ZodObject<{
|
|
1773
2083
|
freshness: z.ZodPrefault<z.ZodObject<{
|
|
@@ -57,6 +57,7 @@ export declare const ChatRequestSchema: z.ZodObject<{
|
|
|
57
57
|
medium: "medium";
|
|
58
58
|
high: "high";
|
|
59
59
|
xhigh: "xhigh";
|
|
60
|
+
max: "max";
|
|
60
61
|
}>>;
|
|
61
62
|
reasoningSummary: z.ZodOptional<z.ZodEnum<{
|
|
62
63
|
auto: "auto";
|
|
@@ -99,6 +100,56 @@ export declare const ChatRequestSchema: z.ZodObject<{
|
|
|
99
100
|
enabled: "enabled";
|
|
100
101
|
}>>;
|
|
101
102
|
}, z.core.$strip>>;
|
|
103
|
+
alibaba: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
105
|
+
none: "none";
|
|
106
|
+
low: "low";
|
|
107
|
+
medium: "medium";
|
|
108
|
+
high: "high";
|
|
109
|
+
xhigh: "xhigh";
|
|
110
|
+
minimal: "minimal";
|
|
111
|
+
}>>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
115
|
+
none: "none";
|
|
116
|
+
low: "low";
|
|
117
|
+
medium: "medium";
|
|
118
|
+
high: "high";
|
|
119
|
+
xhigh: "xhigh";
|
|
120
|
+
minimal: "minimal";
|
|
121
|
+
}>>;
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
|
+
moonshotai: z.ZodOptional<z.ZodObject<{
|
|
124
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
none: "none";
|
|
126
|
+
low: "low";
|
|
127
|
+
medium: "medium";
|
|
128
|
+
high: "high";
|
|
129
|
+
xhigh: "xhigh";
|
|
130
|
+
minimal: "minimal";
|
|
131
|
+
}>>;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
135
|
+
none: "none";
|
|
136
|
+
low: "low";
|
|
137
|
+
medium: "medium";
|
|
138
|
+
high: "high";
|
|
139
|
+
xhigh: "xhigh";
|
|
140
|
+
minimal: "minimal";
|
|
141
|
+
}>>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
zai: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
145
|
+
none: "none";
|
|
146
|
+
low: "low";
|
|
147
|
+
medium: "medium";
|
|
148
|
+
high: "high";
|
|
149
|
+
xhigh: "xhigh";
|
|
150
|
+
minimal: "minimal";
|
|
151
|
+
}>>;
|
|
152
|
+
}, z.core.$strip>>;
|
|
102
153
|
}, z.core.$strip>>>;
|
|
103
154
|
webSearch: z.ZodOptional<z.ZodObject<{
|
|
104
155
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -45,6 +45,7 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
45
45
|
medium: "medium";
|
|
46
46
|
high: "high";
|
|
47
47
|
xhigh: "xhigh";
|
|
48
|
+
max: "max";
|
|
48
49
|
}>>;
|
|
49
50
|
reasoningSummary: z.ZodOptional<z.ZodEnum<{
|
|
50
51
|
auto: "auto";
|
|
@@ -87,6 +88,56 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
87
88
|
enabled: "enabled";
|
|
88
89
|
}>>;
|
|
89
90
|
}, z.core.$strip>>;
|
|
91
|
+
alibaba: z.ZodOptional<z.ZodObject<{
|
|
92
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
93
|
+
none: "none";
|
|
94
|
+
low: "low";
|
|
95
|
+
medium: "medium";
|
|
96
|
+
high: "high";
|
|
97
|
+
xhigh: "xhigh";
|
|
98
|
+
minimal: "minimal";
|
|
99
|
+
}>>;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
102
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
103
|
+
none: "none";
|
|
104
|
+
low: "low";
|
|
105
|
+
medium: "medium";
|
|
106
|
+
high: "high";
|
|
107
|
+
xhigh: "xhigh";
|
|
108
|
+
minimal: "minimal";
|
|
109
|
+
}>>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
moonshotai: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
113
|
+
none: "none";
|
|
114
|
+
low: "low";
|
|
115
|
+
medium: "medium";
|
|
116
|
+
high: "high";
|
|
117
|
+
xhigh: "xhigh";
|
|
118
|
+
minimal: "minimal";
|
|
119
|
+
}>>;
|
|
120
|
+
}, z.core.$strip>>;
|
|
121
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
none: "none";
|
|
124
|
+
low: "low";
|
|
125
|
+
medium: "medium";
|
|
126
|
+
high: "high";
|
|
127
|
+
xhigh: "xhigh";
|
|
128
|
+
minimal: "minimal";
|
|
129
|
+
}>>;
|
|
130
|
+
}, z.core.$strip>>;
|
|
131
|
+
zai: z.ZodOptional<z.ZodObject<{
|
|
132
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
133
|
+
none: "none";
|
|
134
|
+
low: "low";
|
|
135
|
+
medium: "medium";
|
|
136
|
+
high: "high";
|
|
137
|
+
xhigh: "xhigh";
|
|
138
|
+
minimal: "minimal";
|
|
139
|
+
}>>;
|
|
140
|
+
}, z.core.$strip>>;
|
|
90
141
|
}, z.core.$strip>>>;
|
|
91
142
|
ranking: z.ZodDefault<z.ZodOptional<z.ZodPrefault<z.ZodObject<{
|
|
92
143
|
freshness: z.ZodPrefault<z.ZodObject<{
|
|
@@ -440,6 +491,7 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
440
491
|
medium: "medium";
|
|
441
492
|
high: "high";
|
|
442
493
|
xhigh: "xhigh";
|
|
494
|
+
max: "max";
|
|
443
495
|
}>>;
|
|
444
496
|
reasoningSummary: z.ZodOptional<z.ZodEnum<{
|
|
445
497
|
auto: "auto";
|
|
@@ -482,6 +534,56 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
482
534
|
enabled: "enabled";
|
|
483
535
|
}>>;
|
|
484
536
|
}, z.core.$strip>>;
|
|
537
|
+
alibaba: z.ZodOptional<z.ZodObject<{
|
|
538
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
539
|
+
none: "none";
|
|
540
|
+
low: "low";
|
|
541
|
+
medium: "medium";
|
|
542
|
+
high: "high";
|
|
543
|
+
xhigh: "xhigh";
|
|
544
|
+
minimal: "minimal";
|
|
545
|
+
}>>;
|
|
546
|
+
}, z.core.$strip>>;
|
|
547
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
548
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
549
|
+
none: "none";
|
|
550
|
+
low: "low";
|
|
551
|
+
medium: "medium";
|
|
552
|
+
high: "high";
|
|
553
|
+
xhigh: "xhigh";
|
|
554
|
+
minimal: "minimal";
|
|
555
|
+
}>>;
|
|
556
|
+
}, z.core.$strip>>;
|
|
557
|
+
moonshotai: z.ZodOptional<z.ZodObject<{
|
|
558
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
559
|
+
none: "none";
|
|
560
|
+
low: "low";
|
|
561
|
+
medium: "medium";
|
|
562
|
+
high: "high";
|
|
563
|
+
xhigh: "xhigh";
|
|
564
|
+
minimal: "minimal";
|
|
565
|
+
}>>;
|
|
566
|
+
}, z.core.$strip>>;
|
|
567
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
568
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
569
|
+
none: "none";
|
|
570
|
+
low: "low";
|
|
571
|
+
medium: "medium";
|
|
572
|
+
high: "high";
|
|
573
|
+
xhigh: "xhigh";
|
|
574
|
+
minimal: "minimal";
|
|
575
|
+
}>>;
|
|
576
|
+
}, z.core.$strip>>;
|
|
577
|
+
zai: z.ZodOptional<z.ZodObject<{
|
|
578
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
579
|
+
none: "none";
|
|
580
|
+
low: "low";
|
|
581
|
+
medium: "medium";
|
|
582
|
+
high: "high";
|
|
583
|
+
xhigh: "xhigh";
|
|
584
|
+
minimal: "minimal";
|
|
585
|
+
}>>;
|
|
586
|
+
}, z.core.$strip>>;
|
|
485
587
|
}, z.core.$strip>>>;
|
|
486
588
|
ranking: z.ZodDefault<z.ZodOptional<z.ZodPrefault<z.ZodObject<{
|
|
487
589
|
freshness: z.ZodPrefault<z.ZodObject<{
|