@vibexp/api-client 0.77.0 → 0.79.0
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/axios/types.gen.d.ts +11 -3
- package/dist/schema.d.ts +14 -3
- package/package.json +1 -1
|
@@ -379,6 +379,9 @@ export type RenderPromptRequest = {
|
|
|
379
379
|
};
|
|
380
380
|
export type RenderPromptResponse = {
|
|
381
381
|
rendered_body: string;
|
|
382
|
+
/**
|
|
383
|
+
* Template placeholder keys ({{key}}) that had no supplied value, including keys from referenced prompts, deduplicated in first-occurrence order. An unfilled {{key}} stays in rendered_body as-is. A key supplied with an empty string counts as filled. Only resolvable references contribute keys. Omitted when every placeholder was filled.
|
|
384
|
+
*/
|
|
382
385
|
placeholders_missing?: Array<string>;
|
|
383
386
|
references_used?: Array<string>;
|
|
384
387
|
/**
|
|
@@ -4458,7 +4461,7 @@ export type UpdateTeamSearchSettingsRequest = {
|
|
|
4458
4461
|
rank_half_life_days: number;
|
|
4459
4462
|
};
|
|
4460
4463
|
/**
|
|
4461
|
-
* The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n
|
|
4464
|
+
* The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n and max_output_tokens caps, and whether the team can currently use AI summaries at all.
|
|
4462
4465
|
*
|
|
4463
4466
|
*/
|
|
4464
4467
|
export type TeamAiSummarySettings = {
|
|
@@ -4474,6 +4477,11 @@ export type TeamAiSummarySettings = {
|
|
|
4474
4477
|
*
|
|
4475
4478
|
*/
|
|
4476
4479
|
max_top_n: number;
|
|
4480
|
+
/**
|
|
4481
|
+
* Instance-owned ceiling on `max_output_tokens`, from `ai_summary.max_output_tokens_ceiling`. Not team-configurable — exposed so clients can bound their own input control instead of guessing.
|
|
4482
|
+
*
|
|
4483
|
+
*/
|
|
4484
|
+
max_output_tokens_ceiling: number;
|
|
4477
4485
|
/**
|
|
4478
4486
|
* Whether the team has at least one model provider configured (existence, not health) — AI summaries cannot run without one regardless of `enabled`.
|
|
4479
4487
|
*
|
|
@@ -4507,7 +4515,7 @@ export type TeamAiSummarySettingsValues = {
|
|
|
4507
4515
|
max_output_tokens: number;
|
|
4508
4516
|
};
|
|
4509
4517
|
/**
|
|
4510
|
-
* A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n` and `available` are deliberately absent —
|
|
4518
|
+
* A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable.
|
|
4511
4519
|
*
|
|
4512
4520
|
*/
|
|
4513
4521
|
export type UpdateTeamAiSummarySettingsRequest = {
|
|
@@ -13117,7 +13125,7 @@ export type UpdateTeamAiSummarySettingsData = {
|
|
|
13117
13125
|
};
|
|
13118
13126
|
export type UpdateTeamAiSummarySettingsErrors = {
|
|
13119
13127
|
/**
|
|
13120
|
-
* Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`,
|
|
13128
|
+
* Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, `max_output_tokens` outside `1..max_output_tokens_ceiling`, or a `model_provider_id` that does not belong to this team
|
|
13121
13129
|
*
|
|
13122
13130
|
*/
|
|
13123
13131
|
400: ErrorResponse;
|
package/dist/schema.d.ts
CHANGED
|
@@ -5144,6 +5144,12 @@ export interface components {
|
|
|
5144
5144
|
RenderPromptResponse: {
|
|
5145
5145
|
/** @example Please review this code for: security vulnerabilities and code quality */
|
|
5146
5146
|
rendered_body: string;
|
|
5147
|
+
/**
|
|
5148
|
+
* @description Template placeholder keys ({{key}}) that had no supplied value, including keys from referenced prompts, deduplicated in first-occurrence order. An unfilled {{key}} stays in rendered_body as-is. A key supplied with an empty string counts as filled. Only resolvable references contribute keys. Omitted when every placeholder was filled.
|
|
5149
|
+
* @example [
|
|
5150
|
+
* "audience"
|
|
5151
|
+
* ]
|
|
5152
|
+
*/
|
|
5147
5153
|
placeholders_missing?: string[];
|
|
5148
5154
|
references_used?: string[];
|
|
5149
5155
|
/**
|
|
@@ -10053,7 +10059,7 @@ export interface components {
|
|
|
10053
10059
|
*/
|
|
10054
10060
|
rank_half_life_days: number;
|
|
10055
10061
|
};
|
|
10056
|
-
/** @description The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n
|
|
10062
|
+
/** @description The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n and max_output_tokens caps, and whether the team can currently use AI summaries at all. */
|
|
10057
10063
|
TeamAISummarySettings: {
|
|
10058
10064
|
/**
|
|
10059
10065
|
* @description Where the effective values come from. `instance` means the team has no override and inherits the deployment defaults; `team` means the team has stored its own profile.
|
|
@@ -10070,6 +10076,11 @@ export interface components {
|
|
|
10070
10076
|
* @example 10
|
|
10071
10077
|
*/
|
|
10072
10078
|
max_top_n: number;
|
|
10079
|
+
/**
|
|
10080
|
+
* @description Instance-owned ceiling on `max_output_tokens`, from `ai_summary.max_output_tokens_ceiling`. Not team-configurable — exposed so clients can bound their own input control instead of guessing.
|
|
10081
|
+
* @example 4096
|
|
10082
|
+
*/
|
|
10083
|
+
max_output_tokens_ceiling: number;
|
|
10073
10084
|
/**
|
|
10074
10085
|
* @description Whether the team has at least one model provider configured (existence, not health) — AI summaries cannot run without one regardless of `enabled`.
|
|
10075
10086
|
* @example true
|
|
@@ -10106,7 +10117,7 @@ export interface components {
|
|
|
10106
10117
|
*/
|
|
10107
10118
|
max_output_tokens: number;
|
|
10108
10119
|
};
|
|
10109
|
-
/** @description A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n` and `available` are deliberately absent —
|
|
10120
|
+
/** @description A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable. */
|
|
10110
10121
|
UpdateTeamAISummarySettingsRequest: {
|
|
10111
10122
|
/** @example true */
|
|
10112
10123
|
enabled: boolean;
|
|
@@ -22316,7 +22327,7 @@ export interface operations {
|
|
|
22316
22327
|
"application/json": components["schemas"]["TeamAISummarySettings"];
|
|
22317
22328
|
};
|
|
22318
22329
|
};
|
|
22319
|
-
/** @description Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`,
|
|
22330
|
+
/** @description Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, `max_output_tokens` outside `1..max_output_tokens_ceiling`, or a `model_provider_id` that does not belong to this team */
|
|
22320
22331
|
400: {
|
|
22321
22332
|
headers: {
|
|
22322
22333
|
[name: string]: unknown;
|
package/package.json
CHANGED