@vibexp/api-client 0.91.0 → 0.92.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 +19 -9
- package/dist/schema.d.ts +19 -11
- package/package.json +1 -1
|
@@ -4465,25 +4465,29 @@ export type UpdateTeamSearchSettingsRequest = {
|
|
|
4465
4465
|
rank_half_life_days: number;
|
|
4466
4466
|
};
|
|
4467
4467
|
/**
|
|
4468
|
-
* 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,
|
|
4468
|
+
* 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, and whether the team can currently use AI summaries at all. `max_top_n` and `max_output_tokens_ceiling` are deprecated and report the hard code limits.
|
|
4469
4469
|
*
|
|
4470
4470
|
*/
|
|
4471
4471
|
export type TeamAiSummarySettings = {
|
|
4472
4472
|
/**
|
|
4473
|
-
* Where the effective values come from. `instance` means the team has no override and inherits the
|
|
4473
|
+
* Where the effective values come from. `instance` means the team has no override and inherits the instance defaults; `team` means the team has stored its own profile.
|
|
4474
4474
|
*
|
|
4475
4475
|
*/
|
|
4476
4476
|
source: 'instance' | 'team';
|
|
4477
4477
|
values: TeamAiSummarySettingsValues;
|
|
4478
4478
|
instance_defaults: TeamAiSummarySettingsValues;
|
|
4479
4479
|
/**
|
|
4480
|
-
*
|
|
4480
|
+
* The hard code limit on `top_n` (always 10); kept for client compatibility, to be removed in a later minor. No instance setting narrows it any more.
|
|
4481
|
+
*
|
|
4481
4482
|
*
|
|
4483
|
+
* @deprecated
|
|
4482
4484
|
*/
|
|
4483
4485
|
max_top_n: number;
|
|
4484
4486
|
/**
|
|
4485
|
-
*
|
|
4487
|
+
* The hard code limit on `max_output_tokens` (always 32768); kept for client compatibility, to be removed in a later minor. No instance setting narrows it any more.
|
|
4486
4488
|
*
|
|
4489
|
+
*
|
|
4490
|
+
* @deprecated
|
|
4487
4491
|
*/
|
|
4488
4492
|
max_output_tokens_ceiling: number;
|
|
4489
4493
|
/**
|
|
@@ -4506,7 +4510,7 @@ export type TeamAiSummarySettingsValues = {
|
|
|
4506
4510
|
*/
|
|
4507
4511
|
model_provider_id: string | null;
|
|
4508
4512
|
/**
|
|
4509
|
-
* How many top-ranked documents are fed to the summarizer.
|
|
4513
|
+
* How many top-ranked documents are fed to the summarizer. At most 10 (the hard limit).
|
|
4510
4514
|
*/
|
|
4511
4515
|
top_n: number;
|
|
4512
4516
|
/**
|
|
@@ -4514,12 +4518,12 @@ export type TeamAiSummarySettingsValues = {
|
|
|
4514
4518
|
*/
|
|
4515
4519
|
style: 'concise' | 'balanced' | 'detailed';
|
|
4516
4520
|
/**
|
|
4517
|
-
* Upper bound on tokens the summarizer may generate
|
|
4521
|
+
* Upper bound on tokens the summarizer may generate. At most 32768 (the hard limit).
|
|
4518
4522
|
*/
|
|
4519
4523
|
max_output_tokens: number;
|
|
4520
4524
|
};
|
|
4521
4525
|
/**
|
|
4522
|
-
* 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.
|
|
4526
|
+
* 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. `top_n` is at most 10 and `max_output_tokens` at most 32768 (the hard limits; a larger value is rejected with 400). `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable.
|
|
4523
4527
|
*
|
|
4524
4528
|
*/
|
|
4525
4529
|
export type UpdateTeamAiSummarySettingsRequest = {
|
|
@@ -5530,11 +5534,17 @@ export type AdminTeamAiSummaryConfig = {
|
|
|
5530
5534
|
*/
|
|
5531
5535
|
model_provider_name: string | null;
|
|
5532
5536
|
/**
|
|
5533
|
-
*
|
|
5537
|
+
* The hard code limit on `top_n` (always 10); kept for client compatibility, to be removed in a later minor.
|
|
5538
|
+
*
|
|
5539
|
+
*
|
|
5540
|
+
* @deprecated
|
|
5534
5541
|
*/
|
|
5535
5542
|
max_top_n: number;
|
|
5536
5543
|
/**
|
|
5537
|
-
*
|
|
5544
|
+
* The hard code limit on `max_output_tokens` (always 32768); kept for client compatibility, to be removed in a later minor.
|
|
5545
|
+
*
|
|
5546
|
+
*
|
|
5547
|
+
* @deprecated
|
|
5538
5548
|
*/
|
|
5539
5549
|
max_output_tokens_ceiling: number;
|
|
5540
5550
|
/**
|
package/dist/schema.d.ts
CHANGED
|
@@ -10875,26 +10875,28 @@ export interface components {
|
|
|
10875
10875
|
*/
|
|
10876
10876
|
rank_half_life_days: number;
|
|
10877
10877
|
};
|
|
10878
|
-
/** @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,
|
|
10878
|
+
/** @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, and whether the team can currently use AI summaries at all. `max_top_n` and `max_output_tokens_ceiling` are deprecated and report the hard code limits. */
|
|
10879
10879
|
TeamAISummarySettings: {
|
|
10880
10880
|
/**
|
|
10881
|
-
* @description Where the effective values come from. `instance` means the team has no override and inherits the
|
|
10881
|
+
* @description Where the effective values come from. `instance` means the team has no override and inherits the instance defaults; `team` means the team has stored its own profile.
|
|
10882
10882
|
* @example instance
|
|
10883
10883
|
* @enum {string}
|
|
10884
10884
|
*/
|
|
10885
10885
|
source: "instance" | "team";
|
|
10886
10886
|
/** @description Effective values — the team's when source is `team`, otherwise the instance default. */
|
|
10887
10887
|
values: components["schemas"]["TeamAISummarySettingsValues"];
|
|
10888
|
-
/** @description The
|
|
10888
|
+
/** @description The defaults from the instance settings (Admin → Settings → AI Summary), or the built-in defaults when none are stored, so a client can preview what "reset to defaults" would produce without a second request. Equal to `values` when source is `instance`. */
|
|
10889
10889
|
instance_defaults: components["schemas"]["TeamAISummarySettingsValues"];
|
|
10890
10890
|
/**
|
|
10891
|
-
* @
|
|
10891
|
+
* @deprecated
|
|
10892
|
+
* @description The hard code limit on `top_n` (always 10); kept for client compatibility, to be removed in a later minor. No instance setting narrows it any more.
|
|
10892
10893
|
* @example 10
|
|
10893
10894
|
*/
|
|
10894
10895
|
max_top_n: number;
|
|
10895
10896
|
/**
|
|
10896
|
-
* @
|
|
10897
|
-
* @
|
|
10897
|
+
* @deprecated
|
|
10898
|
+
* @description The hard code limit on `max_output_tokens` (always 32768); kept for client compatibility, to be removed in a later minor. No instance setting narrows it any more.
|
|
10899
|
+
* @example 32768
|
|
10898
10900
|
*/
|
|
10899
10901
|
max_output_tokens_ceiling: number;
|
|
10900
10902
|
/**
|
|
@@ -10917,7 +10919,7 @@ export interface components {
|
|
|
10917
10919
|
*/
|
|
10918
10920
|
model_provider_id: string | null;
|
|
10919
10921
|
/**
|
|
10920
|
-
* @description How many top-ranked documents are fed to the summarizer.
|
|
10922
|
+
* @description How many top-ranked documents are fed to the summarizer. At most 10 (the hard limit).
|
|
10921
10923
|
* @example 5
|
|
10922
10924
|
*/
|
|
10923
10925
|
top_n: number;
|
|
@@ -10928,12 +10930,12 @@ export interface components {
|
|
|
10928
10930
|
*/
|
|
10929
10931
|
style: "concise" | "balanced" | "detailed";
|
|
10930
10932
|
/**
|
|
10931
|
-
* @description Upper bound on tokens the summarizer may generate
|
|
10933
|
+
* @description Upper bound on tokens the summarizer may generate. At most 32768 (the hard limit).
|
|
10932
10934
|
* @example 800
|
|
10933
10935
|
*/
|
|
10934
10936
|
max_output_tokens: number;
|
|
10935
10937
|
};
|
|
10936
|
-
/** @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. */
|
|
10938
|
+
/** @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. `top_n` is at most 10 and `max_output_tokens` at most 32768 (the hard limits; a larger value is rejected with 400). `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable. */
|
|
10937
10939
|
UpdateTeamAISummarySettingsRequest: {
|
|
10938
10940
|
/** @example true */
|
|
10939
10941
|
enabled: boolean;
|
|
@@ -12114,9 +12116,15 @@ export interface components {
|
|
|
12114
12116
|
* providers.
|
|
12115
12117
|
*/
|
|
12116
12118
|
model_provider_name: string | null;
|
|
12117
|
-
/**
|
|
12119
|
+
/**
|
|
12120
|
+
* @deprecated
|
|
12121
|
+
* @description The hard code limit on `top_n` (always 10); kept for client compatibility, to be removed in a later minor.
|
|
12122
|
+
*/
|
|
12118
12123
|
max_top_n: number;
|
|
12119
|
-
/**
|
|
12124
|
+
/**
|
|
12125
|
+
* @deprecated
|
|
12126
|
+
* @description The hard code limit on `max_output_tokens` (always 32768); kept for client compatibility, to be removed in a later minor.
|
|
12127
|
+
*/
|
|
12120
12128
|
max_output_tokens_ceiling: number;
|
|
12121
12129
|
/** @description Whether the team has at least one model provider (existence, not health). */
|
|
12122
12130
|
available: boolean;
|
package/package.json
CHANGED