@taico/client 0.4.1 → 0.5.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/README.md +1 -1
- package/dist/contracts/types.d.ts +248 -78
- package/dist/src/v1/client/index.d.ts +8 -5
- package/dist/src/v1/client/index.js +6 -3
- package/dist/src/v1/client/models/AiModelSelectionResponseDto.d.ts +41 -0
- package/dist/src/v1/client/models/AiModelSelectionResponseDto.js +13 -0
- package/dist/src/v1/client/models/AiProviderModelResponseDto.d.ts +23 -0
- package/dist/src/v1/client/models/AiProviderModelResponseDto.js +11 -0
- package/dist/src/v1/client/models/AiProviderResponseDto.d.ts +59 -0
- package/dist/src/v1/client/models/AiProviderResponseDto.js +15 -0
- package/dist/src/v1/client/models/ChatProviderResponseDto.d.ts +20 -1
- package/dist/src/v1/client/models/ChatProviderResponseDto.js +4 -1
- package/dist/src/v1/client/models/CreateAiProviderDto.d.ts +39 -0
- package/dist/src/v1/client/models/CreateAiProviderDto.js +15 -0
- package/dist/src/v1/client/models/CreateChatProviderDto.d.ts +20 -1
- package/dist/src/v1/client/models/CreateChatProviderDto.js +4 -1
- package/dist/src/v1/client/models/SetAiModelSelectionDto.d.ts +10 -0
- package/dist/src/v1/client/models/SetAiModelSelectionDto.js +1 -0
- package/dist/src/v1/client/models/ThreadListItemResponseDto.d.ts +0 -4
- package/dist/src/v1/client/models/ThreadResponseDto.d.ts +0 -4
- package/dist/src/v1/client/models/UpdateAiProviderDto.d.ts +26 -0
- package/dist/src/v1/client/models/UpdateAiProviderDto.js +1 -0
- package/dist/src/v1/client/models/UpdateChatProviderDto.d.ts +17 -1
- package/dist/src/v1/client/models/UserWalkthroughStatusResponseDto.d.ts +4 -0
- package/dist/src/v1/client/services/AiModelSelectionsService.d.ts +27 -0
- package/dist/src/v1/client/services/AiModelSelectionsService.js +51 -0
- package/dist/src/v1/client/services/AiProvidersService.d.ts +50 -0
- package/dist/src/v1/client/services/AiProvidersService.js +104 -0
- package/dist/src/v2/ai-model-selections-resource.d.ts +20 -0
- package/dist/src/v2/ai-model-selections-resource.js +18 -0
- package/dist/src/v2/ai-providers-resource.d.ts +35 -0
- package/dist/src/v2/ai-providers-resource.js +30 -0
- package/dist/src/v2/client.d.ts +4 -2
- package/dist/src/v2/client.js +6 -3
- package/dist/src/v2/types.d.ts +32 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# @taico/client
|
|
2
2
|
|
|
3
|
-
[](https://badge.socket.dev/npm/package/@taico/client/0.5.0)
|
|
@@ -1691,77 +1691,95 @@ export interface paths {
|
|
|
1691
1691
|
patch: operations["ContextController_handleMcp_patch"];
|
|
1692
1692
|
trace?: never;
|
|
1693
1693
|
};
|
|
1694
|
-
"/api/v1/
|
|
1694
|
+
"/api/v1/ai-providers": {
|
|
1695
1695
|
parameters: {
|
|
1696
1696
|
query?: never;
|
|
1697
1697
|
header?: never;
|
|
1698
1698
|
path?: never;
|
|
1699
1699
|
cookie?: never;
|
|
1700
1700
|
};
|
|
1701
|
-
/** List all
|
|
1702
|
-
get: operations["
|
|
1701
|
+
/** List all AI providers */
|
|
1702
|
+
get: operations["AiProvidersController_listAiProviders"];
|
|
1703
1703
|
put?: never;
|
|
1704
|
-
/** Create
|
|
1705
|
-
post: operations["
|
|
1704
|
+
/** Create an AI provider */
|
|
1705
|
+
post: operations["AiProvidersController_createAiProvider"];
|
|
1706
1706
|
delete?: never;
|
|
1707
1707
|
options?: never;
|
|
1708
1708
|
head?: never;
|
|
1709
1709
|
patch?: never;
|
|
1710
1710
|
trace?: never;
|
|
1711
1711
|
};
|
|
1712
|
-
"/api/v1/
|
|
1712
|
+
"/api/v1/ai-providers/{id}": {
|
|
1713
1713
|
parameters: {
|
|
1714
1714
|
query?: never;
|
|
1715
1715
|
header?: never;
|
|
1716
1716
|
path?: never;
|
|
1717
1717
|
cookie?: never;
|
|
1718
1718
|
};
|
|
1719
|
-
/** Get
|
|
1720
|
-
get: operations["
|
|
1719
|
+
/** Get AI provider by ID */
|
|
1720
|
+
get: operations["AiProvidersController_getAiProvider"];
|
|
1721
1721
|
put?: never;
|
|
1722
1722
|
post?: never;
|
|
1723
|
-
/** Delete
|
|
1724
|
-
delete: operations["
|
|
1723
|
+
/** Delete an AI provider */
|
|
1724
|
+
delete: operations["AiProvidersController_deleteAiProvider"];
|
|
1725
1725
|
options?: never;
|
|
1726
1726
|
head?: never;
|
|
1727
|
-
/** Update
|
|
1728
|
-
patch: operations["
|
|
1727
|
+
/** Update an AI provider */
|
|
1728
|
+
patch: operations["AiProvidersController_updateAiProvider"];
|
|
1729
1729
|
trace?: never;
|
|
1730
1730
|
};
|
|
1731
|
-
"/api/v1/
|
|
1731
|
+
"/api/v1/ai-providers/{id}/models": {
|
|
1732
1732
|
parameters: {
|
|
1733
1733
|
query?: never;
|
|
1734
1734
|
header?: never;
|
|
1735
1735
|
path?: never;
|
|
1736
1736
|
cookie?: never;
|
|
1737
1737
|
};
|
|
1738
|
-
|
|
1738
|
+
/** List the models the provider offers, fetched live from the provider */
|
|
1739
|
+
get: operations["AiProvidersController_listAiProviderModels"];
|
|
1739
1740
|
put?: never;
|
|
1740
|
-
|
|
1741
|
-
post: operations["ChatProvidersController_setActiveChatProvider"];
|
|
1741
|
+
post?: never;
|
|
1742
1742
|
delete?: never;
|
|
1743
1743
|
options?: never;
|
|
1744
1744
|
head?: never;
|
|
1745
1745
|
patch?: never;
|
|
1746
1746
|
trace?: never;
|
|
1747
1747
|
};
|
|
1748
|
-
"/api/v1/
|
|
1748
|
+
"/api/v1/ai-model-selections": {
|
|
1749
1749
|
parameters: {
|
|
1750
1750
|
query?: never;
|
|
1751
1751
|
header?: never;
|
|
1752
1752
|
path?: never;
|
|
1753
1753
|
cookie?: never;
|
|
1754
1754
|
};
|
|
1755
|
-
|
|
1755
|
+
/** List which model each job uses */
|
|
1756
|
+
get: operations["AiModelSelectionsController_listAiModelSelections"];
|
|
1756
1757
|
put?: never;
|
|
1757
|
-
|
|
1758
|
-
post: operations["ChatProvidersController_deactivateActiveChatProvider"];
|
|
1758
|
+
post?: never;
|
|
1759
1759
|
delete?: never;
|
|
1760
1760
|
options?: never;
|
|
1761
1761
|
head?: never;
|
|
1762
1762
|
patch?: never;
|
|
1763
1763
|
trace?: never;
|
|
1764
1764
|
};
|
|
1765
|
+
"/api/v1/ai-model-selections/{job}": {
|
|
1766
|
+
parameters: {
|
|
1767
|
+
query?: never;
|
|
1768
|
+
header?: never;
|
|
1769
|
+
path?: never;
|
|
1770
|
+
cookie?: never;
|
|
1771
|
+
};
|
|
1772
|
+
get?: never;
|
|
1773
|
+
/** Select the provider and model a job uses */
|
|
1774
|
+
put: operations["AiModelSelectionsController_setAiModelSelection"];
|
|
1775
|
+
post?: never;
|
|
1776
|
+
/** Clear a job's selection */
|
|
1777
|
+
delete: operations["AiModelSelectionsController_clearAiModelSelection"];
|
|
1778
|
+
options?: never;
|
|
1779
|
+
head?: never;
|
|
1780
|
+
patch?: never;
|
|
1781
|
+
trace?: never;
|
|
1782
|
+
};
|
|
1765
1783
|
"/api/v1/secrets": {
|
|
1766
1784
|
parameters: {
|
|
1767
1785
|
query?: never;
|
|
@@ -4167,11 +4185,6 @@ export interface components {
|
|
|
4167
4185
|
* @example Implement authentication feature
|
|
4168
4186
|
*/
|
|
4169
4187
|
title: string;
|
|
4170
|
-
/**
|
|
4171
|
-
* @description Provider-specific chat session/conversation ID associated with this thread
|
|
4172
|
-
* @example conv_123abc
|
|
4173
|
-
*/
|
|
4174
|
-
chatSessionId: string | null;
|
|
4175
4188
|
/** @description Actor who created the thread */
|
|
4176
4189
|
createdByActor: components["schemas"]["ActorResponseDto"];
|
|
4177
4190
|
/**
|
|
@@ -4226,11 +4239,6 @@ export interface components {
|
|
|
4226
4239
|
* @example Implement authentication feature
|
|
4227
4240
|
*/
|
|
4228
4241
|
title: string;
|
|
4229
|
-
/**
|
|
4230
|
-
* @description Provider-specific chat session/conversation ID associated with this thread
|
|
4231
|
-
* @example conv_123abc
|
|
4232
|
-
*/
|
|
4233
|
-
chatSessionId: string | null;
|
|
4234
4242
|
/**
|
|
4235
4243
|
* @description State context block ID that tracks the evolving state of this thread
|
|
4236
4244
|
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
@@ -5305,51 +5313,76 @@ export interface components {
|
|
|
5305
5313
|
*/
|
|
5306
5314
|
newParentId: Record<string, never> | null;
|
|
5307
5315
|
};
|
|
5308
|
-
|
|
5316
|
+
CreateAiProviderDto: {
|
|
5309
5317
|
/**
|
|
5310
|
-
* @description Display name for the
|
|
5318
|
+
* @description Display name for the AI provider
|
|
5311
5319
|
* @example OpenAI Production
|
|
5312
5320
|
*/
|
|
5313
5321
|
name: string;
|
|
5314
5322
|
/**
|
|
5315
|
-
* @description Type of
|
|
5323
|
+
* @description Type of AI provider
|
|
5316
5324
|
* @example openai
|
|
5317
5325
|
* @enum {string}
|
|
5318
5326
|
*/
|
|
5319
|
-
type: "openai" | "
|
|
5327
|
+
type: "openai" | "anthropic" | "google" | "google_vertex" | "xai" | "openai_compatible";
|
|
5320
5328
|
/**
|
|
5321
5329
|
* @description ID of the secret containing the API key
|
|
5322
5330
|
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
5323
5331
|
*/
|
|
5324
5332
|
secretId?: string;
|
|
5333
|
+
/**
|
|
5334
|
+
* @description API base URL. Required for OpenAI-compatible providers.
|
|
5335
|
+
* @example http://localhost:11434/v1
|
|
5336
|
+
*/
|
|
5337
|
+
baseUrl?: string | null;
|
|
5338
|
+
/**
|
|
5339
|
+
* @description Google Cloud project for Vertex AI. Blank falls back to the environment.
|
|
5340
|
+
* @example my-gcp-project
|
|
5341
|
+
*/
|
|
5342
|
+
project?: string | null;
|
|
5343
|
+
/**
|
|
5344
|
+
* @description Google Cloud location for Vertex AI. Blank falls back to the environment.
|
|
5345
|
+
* @example us-central1
|
|
5346
|
+
*/
|
|
5347
|
+
location?: string | null;
|
|
5325
5348
|
};
|
|
5326
|
-
|
|
5349
|
+
AiProviderResponseDto: {
|
|
5327
5350
|
/**
|
|
5328
|
-
* @description
|
|
5351
|
+
* @description AI provider identifier
|
|
5329
5352
|
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
5330
5353
|
*/
|
|
5331
5354
|
id: string;
|
|
5332
5355
|
/**
|
|
5333
|
-
* @description Display name of the
|
|
5356
|
+
* @description Display name of the AI provider
|
|
5334
5357
|
* @example OpenAI Production
|
|
5335
5358
|
*/
|
|
5336
5359
|
name: string;
|
|
5337
5360
|
/**
|
|
5338
|
-
* @description Type of
|
|
5361
|
+
* @description Type of AI provider
|
|
5339
5362
|
* @example openai
|
|
5340
5363
|
* @enum {string}
|
|
5341
5364
|
*/
|
|
5342
|
-
type: "openai" | "
|
|
5365
|
+
type: "openai" | "anthropic" | "google" | "google_vertex" | "xai" | "openai_compatible";
|
|
5343
5366
|
/**
|
|
5344
5367
|
* @description ID of the secret containing the API key
|
|
5345
5368
|
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
5346
5369
|
*/
|
|
5347
5370
|
secretId?: string | null;
|
|
5348
5371
|
/**
|
|
5349
|
-
* @description
|
|
5350
|
-
* @example
|
|
5372
|
+
* @description API base URL
|
|
5373
|
+
* @example http://localhost:11434/v1
|
|
5351
5374
|
*/
|
|
5352
|
-
|
|
5375
|
+
baseUrl?: string | null;
|
|
5376
|
+
/**
|
|
5377
|
+
* @description Google Cloud project for Vertex AI
|
|
5378
|
+
* @example my-gcp-project
|
|
5379
|
+
*/
|
|
5380
|
+
project?: string | null;
|
|
5381
|
+
/**
|
|
5382
|
+
* @description Google Cloud location for Vertex AI
|
|
5383
|
+
* @example us-central1
|
|
5384
|
+
*/
|
|
5385
|
+
location?: string | null;
|
|
5353
5386
|
/**
|
|
5354
5387
|
* @description Whether this provider has all required configuration
|
|
5355
5388
|
* @example true
|
|
@@ -5371,9 +5404,9 @@ export interface components {
|
|
|
5371
5404
|
*/
|
|
5372
5405
|
updatedAt: string;
|
|
5373
5406
|
};
|
|
5374
|
-
|
|
5407
|
+
UpdateAiProviderDto: {
|
|
5375
5408
|
/**
|
|
5376
|
-
* @description Display name for the
|
|
5409
|
+
* @description Display name for the AI provider
|
|
5377
5410
|
* @example OpenAI Production
|
|
5378
5411
|
*/
|
|
5379
5412
|
name?: string;
|
|
@@ -5383,17 +5416,93 @@ export interface components {
|
|
|
5383
5416
|
*/
|
|
5384
5417
|
secretId?: string;
|
|
5385
5418
|
/**
|
|
5386
|
-
* @description API key for the
|
|
5419
|
+
* @description API key for the AI provider, or service account JSON for Vertex AI. If provided, a secret will be created automatically.
|
|
5387
5420
|
* @example sk-...
|
|
5388
5421
|
*/
|
|
5389
5422
|
apiKey?: string;
|
|
5423
|
+
/**
|
|
5424
|
+
* @description API base URL. Required for OpenAI-compatible providers.
|
|
5425
|
+
* @example http://localhost:11434/v1
|
|
5426
|
+
*/
|
|
5427
|
+
baseUrl?: string | null;
|
|
5428
|
+
/**
|
|
5429
|
+
* @description Google Cloud project for Vertex AI. Blank falls back to the environment.
|
|
5430
|
+
* @example my-gcp-project
|
|
5431
|
+
*/
|
|
5432
|
+
project?: string | null;
|
|
5433
|
+
/**
|
|
5434
|
+
* @description Google Cloud location for Vertex AI. Blank falls back to the environment.
|
|
5435
|
+
* @example us-central1
|
|
5436
|
+
*/
|
|
5437
|
+
location?: string | null;
|
|
5438
|
+
};
|
|
5439
|
+
AiProviderModelResponseDto: {
|
|
5440
|
+
/**
|
|
5441
|
+
* @description Model id as the provider names it
|
|
5442
|
+
* @example claude-haiku-5-5
|
|
5443
|
+
*/
|
|
5444
|
+
id: string;
|
|
5445
|
+
/**
|
|
5446
|
+
* @description Human-readable name, when the provider gives one
|
|
5447
|
+
* @example Claude Haiku 5.5
|
|
5448
|
+
*/
|
|
5449
|
+
displayName?: string | null;
|
|
5450
|
+
/**
|
|
5451
|
+
* @description What the model is for
|
|
5452
|
+
* @example language
|
|
5453
|
+
* @enum {string}
|
|
5454
|
+
*/
|
|
5455
|
+
kind: "language" | "embedding";
|
|
5456
|
+
};
|
|
5457
|
+
AiModelSelectionResponseDto: {
|
|
5458
|
+
/**
|
|
5459
|
+
* @description The job the model is selected for
|
|
5460
|
+
* @example conversation
|
|
5461
|
+
* @enum {string}
|
|
5462
|
+
*/
|
|
5463
|
+
job: "conversation" | "quick_tasks" | "middle_manager" | "embeddings";
|
|
5464
|
+
/**
|
|
5465
|
+
* @description Provider of the job's own selection. Null when nothing is selected for it.
|
|
5466
|
+
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
5467
|
+
*/
|
|
5468
|
+
aiProviderId?: string | null;
|
|
5469
|
+
/**
|
|
5470
|
+
* @description Model of the job's own selection. Null when nothing is selected for it.
|
|
5471
|
+
* @example claude-opus-5-5
|
|
5472
|
+
*/
|
|
5473
|
+
modelId?: string | null;
|
|
5474
|
+
/**
|
|
5475
|
+
* @description True when the job has no selection of its own and uses the conversation model
|
|
5476
|
+
* @example false
|
|
5477
|
+
*/
|
|
5478
|
+
followsConversation: boolean;
|
|
5479
|
+
/**
|
|
5480
|
+
* @description Provider the job runs on after applying the fallback
|
|
5481
|
+
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
5482
|
+
*/
|
|
5483
|
+
effectiveAiProviderId?: string | null;
|
|
5484
|
+
/**
|
|
5485
|
+
* @description Model the job runs on after applying the fallback
|
|
5486
|
+
* @example claude-opus-5-5
|
|
5487
|
+
*/
|
|
5488
|
+
effectiveModelId?: string | null;
|
|
5489
|
+
/**
|
|
5490
|
+
* @description Whether the job can make a call: a model is selected and its provider is configured
|
|
5491
|
+
* @example true
|
|
5492
|
+
*/
|
|
5493
|
+
isReady: boolean;
|
|
5390
5494
|
};
|
|
5391
|
-
|
|
5495
|
+
SetAiModelSelectionDto: {
|
|
5392
5496
|
/**
|
|
5393
|
-
* @description ID of the
|
|
5497
|
+
* @description ID of the AI provider to call
|
|
5394
5498
|
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
5395
5499
|
*/
|
|
5396
|
-
|
|
5500
|
+
aiProviderId: string;
|
|
5501
|
+
/**
|
|
5502
|
+
* @description Model id as the provider names it
|
|
5503
|
+
* @example claude-haiku-5-5
|
|
5504
|
+
*/
|
|
5505
|
+
modelId: string;
|
|
5397
5506
|
};
|
|
5398
5507
|
CreateSecretDto: {
|
|
5399
5508
|
/**
|
|
@@ -6211,6 +6320,11 @@ export interface components {
|
|
|
6211
6320
|
contextBlockCreated: boolean;
|
|
6212
6321
|
/** @example true */
|
|
6213
6322
|
threadConfigured: boolean;
|
|
6323
|
+
/**
|
|
6324
|
+
* @description Whether a usable model is selected for thread conversations
|
|
6325
|
+
* @example true
|
|
6326
|
+
*/
|
|
6327
|
+
conversationModelReady: boolean;
|
|
6214
6328
|
/** @example true */
|
|
6215
6329
|
taskWithProjectCreated: boolean;
|
|
6216
6330
|
/**
|
|
@@ -10238,7 +10352,7 @@ export interface operations {
|
|
|
10238
10352
|
};
|
|
10239
10353
|
};
|
|
10240
10354
|
};
|
|
10241
|
-
|
|
10355
|
+
AiProvidersController_listAiProviders: {
|
|
10242
10356
|
parameters: {
|
|
10243
10357
|
query?: never;
|
|
10244
10358
|
header?: never;
|
|
@@ -10247,18 +10361,18 @@ export interface operations {
|
|
|
10247
10361
|
};
|
|
10248
10362
|
requestBody?: never;
|
|
10249
10363
|
responses: {
|
|
10250
|
-
/** @description List of
|
|
10364
|
+
/** @description List of AI providers */
|
|
10251
10365
|
200: {
|
|
10252
10366
|
headers: {
|
|
10253
10367
|
[name: string]: unknown;
|
|
10254
10368
|
};
|
|
10255
10369
|
content: {
|
|
10256
|
-
"application/json": components["schemas"]["
|
|
10370
|
+
"application/json": components["schemas"]["AiProviderResponseDto"][];
|
|
10257
10371
|
};
|
|
10258
10372
|
};
|
|
10259
10373
|
};
|
|
10260
10374
|
};
|
|
10261
|
-
|
|
10375
|
+
AiProvidersController_createAiProvider: {
|
|
10262
10376
|
parameters: {
|
|
10263
10377
|
query?: never;
|
|
10264
10378
|
header?: never;
|
|
@@ -10267,43 +10381,43 @@ export interface operations {
|
|
|
10267
10381
|
};
|
|
10268
10382
|
requestBody: {
|
|
10269
10383
|
content: {
|
|
10270
|
-
"application/json": components["schemas"]["
|
|
10384
|
+
"application/json": components["schemas"]["CreateAiProviderDto"];
|
|
10271
10385
|
};
|
|
10272
10386
|
};
|
|
10273
10387
|
responses: {
|
|
10274
|
-
/** @description
|
|
10388
|
+
/** @description AI provider created successfully */
|
|
10275
10389
|
201: {
|
|
10276
10390
|
headers: {
|
|
10277
10391
|
[name: string]: unknown;
|
|
10278
10392
|
};
|
|
10279
10393
|
content: {
|
|
10280
|
-
"application/json": components["schemas"]["
|
|
10394
|
+
"application/json": components["schemas"]["AiProviderResponseDto"];
|
|
10281
10395
|
};
|
|
10282
10396
|
};
|
|
10283
10397
|
};
|
|
10284
10398
|
};
|
|
10285
|
-
|
|
10399
|
+
AiProvidersController_getAiProvider: {
|
|
10286
10400
|
parameters: {
|
|
10287
10401
|
query?: never;
|
|
10288
10402
|
header?: never;
|
|
10289
10403
|
path: {
|
|
10290
|
-
/** @description
|
|
10404
|
+
/** @description AI provider identifier */
|
|
10291
10405
|
id: string;
|
|
10292
10406
|
};
|
|
10293
10407
|
cookie?: never;
|
|
10294
10408
|
};
|
|
10295
10409
|
requestBody?: never;
|
|
10296
10410
|
responses: {
|
|
10297
|
-
/** @description
|
|
10411
|
+
/** @description AI provider details */
|
|
10298
10412
|
200: {
|
|
10299
10413
|
headers: {
|
|
10300
10414
|
[name: string]: unknown;
|
|
10301
10415
|
};
|
|
10302
10416
|
content: {
|
|
10303
|
-
"application/json": components["schemas"]["
|
|
10417
|
+
"application/json": components["schemas"]["AiProviderResponseDto"];
|
|
10304
10418
|
};
|
|
10305
10419
|
};
|
|
10306
|
-
/** @description
|
|
10420
|
+
/** @description AI provider not found */
|
|
10307
10421
|
404: {
|
|
10308
10422
|
headers: {
|
|
10309
10423
|
[name: string]: unknown;
|
|
@@ -10312,26 +10426,26 @@ export interface operations {
|
|
|
10312
10426
|
};
|
|
10313
10427
|
};
|
|
10314
10428
|
};
|
|
10315
|
-
|
|
10429
|
+
AiProvidersController_deleteAiProvider: {
|
|
10316
10430
|
parameters: {
|
|
10317
10431
|
query?: never;
|
|
10318
10432
|
header?: never;
|
|
10319
10433
|
path: {
|
|
10320
|
-
/** @description
|
|
10434
|
+
/** @description AI provider identifier */
|
|
10321
10435
|
id: string;
|
|
10322
10436
|
};
|
|
10323
10437
|
cookie?: never;
|
|
10324
10438
|
};
|
|
10325
10439
|
requestBody?: never;
|
|
10326
10440
|
responses: {
|
|
10327
|
-
/** @description
|
|
10441
|
+
/** @description AI provider deleted successfully */
|
|
10328
10442
|
204: {
|
|
10329
10443
|
headers: {
|
|
10330
10444
|
[name: string]: unknown;
|
|
10331
10445
|
};
|
|
10332
10446
|
content?: never;
|
|
10333
10447
|
};
|
|
10334
|
-
/** @description
|
|
10448
|
+
/** @description AI provider not found */
|
|
10335
10449
|
404: {
|
|
10336
10450
|
headers: {
|
|
10337
10451
|
[name: string]: unknown;
|
|
@@ -10340,32 +10454,62 @@ export interface operations {
|
|
|
10340
10454
|
};
|
|
10341
10455
|
};
|
|
10342
10456
|
};
|
|
10343
|
-
|
|
10457
|
+
AiProvidersController_updateAiProvider: {
|
|
10344
10458
|
parameters: {
|
|
10345
10459
|
query?: never;
|
|
10346
10460
|
header?: never;
|
|
10347
10461
|
path: {
|
|
10348
|
-
/** @description
|
|
10462
|
+
/** @description AI provider identifier */
|
|
10349
10463
|
id: string;
|
|
10350
10464
|
};
|
|
10351
10465
|
cookie?: never;
|
|
10352
10466
|
};
|
|
10353
10467
|
requestBody: {
|
|
10354
10468
|
content: {
|
|
10355
|
-
"application/json": components["schemas"]["
|
|
10469
|
+
"application/json": components["schemas"]["UpdateAiProviderDto"];
|
|
10470
|
+
};
|
|
10471
|
+
};
|
|
10472
|
+
responses: {
|
|
10473
|
+
/** @description AI provider updated successfully */
|
|
10474
|
+
200: {
|
|
10475
|
+
headers: {
|
|
10476
|
+
[name: string]: unknown;
|
|
10477
|
+
};
|
|
10478
|
+
content: {
|
|
10479
|
+
"application/json": components["schemas"]["AiProviderResponseDto"];
|
|
10480
|
+
};
|
|
10481
|
+
};
|
|
10482
|
+
/** @description AI provider not found */
|
|
10483
|
+
404: {
|
|
10484
|
+
headers: {
|
|
10485
|
+
[name: string]: unknown;
|
|
10486
|
+
};
|
|
10487
|
+
content?: never;
|
|
10488
|
+
};
|
|
10489
|
+
};
|
|
10490
|
+
};
|
|
10491
|
+
AiProvidersController_listAiProviderModels: {
|
|
10492
|
+
parameters: {
|
|
10493
|
+
query?: never;
|
|
10494
|
+
header?: never;
|
|
10495
|
+
path: {
|
|
10496
|
+
/** @description AI provider identifier */
|
|
10497
|
+
id: string;
|
|
10356
10498
|
};
|
|
10499
|
+
cookie?: never;
|
|
10357
10500
|
};
|
|
10501
|
+
requestBody?: never;
|
|
10358
10502
|
responses: {
|
|
10359
|
-
/** @description
|
|
10503
|
+
/** @description Models offered by the provider */
|
|
10360
10504
|
200: {
|
|
10361
10505
|
headers: {
|
|
10362
10506
|
[name: string]: unknown;
|
|
10363
10507
|
};
|
|
10364
10508
|
content: {
|
|
10365
|
-
"application/json": components["schemas"]["
|
|
10509
|
+
"application/json": components["schemas"]["AiProviderModelResponseDto"][];
|
|
10366
10510
|
};
|
|
10367
10511
|
};
|
|
10368
|
-
/** @description
|
|
10512
|
+
/** @description AI provider not found */
|
|
10369
10513
|
404: {
|
|
10370
10514
|
headers: {
|
|
10371
10515
|
[name: string]: unknown;
|
|
@@ -10374,29 +10518,52 @@ export interface operations {
|
|
|
10374
10518
|
};
|
|
10375
10519
|
};
|
|
10376
10520
|
};
|
|
10377
|
-
|
|
10521
|
+
AiModelSelectionsController_listAiModelSelections: {
|
|
10378
10522
|
parameters: {
|
|
10379
10523
|
query?: never;
|
|
10380
10524
|
header?: never;
|
|
10381
10525
|
path?: never;
|
|
10382
10526
|
cookie?: never;
|
|
10383
10527
|
};
|
|
10528
|
+
requestBody?: never;
|
|
10529
|
+
responses: {
|
|
10530
|
+
/** @description One entry per job, selected or not */
|
|
10531
|
+
200: {
|
|
10532
|
+
headers: {
|
|
10533
|
+
[name: string]: unknown;
|
|
10534
|
+
};
|
|
10535
|
+
content: {
|
|
10536
|
+
"application/json": components["schemas"]["AiModelSelectionResponseDto"][];
|
|
10537
|
+
};
|
|
10538
|
+
};
|
|
10539
|
+
};
|
|
10540
|
+
};
|
|
10541
|
+
AiModelSelectionsController_setAiModelSelection: {
|
|
10542
|
+
parameters: {
|
|
10543
|
+
query?: never;
|
|
10544
|
+
header?: never;
|
|
10545
|
+
path: {
|
|
10546
|
+
/** @description The job the model is selected for */
|
|
10547
|
+
job: "conversation" | "quick_tasks" | "middle_manager" | "embeddings";
|
|
10548
|
+
};
|
|
10549
|
+
cookie?: never;
|
|
10550
|
+
};
|
|
10384
10551
|
requestBody: {
|
|
10385
10552
|
content: {
|
|
10386
|
-
"application/json": components["schemas"]["
|
|
10553
|
+
"application/json": components["schemas"]["SetAiModelSelectionDto"];
|
|
10387
10554
|
};
|
|
10388
10555
|
};
|
|
10389
10556
|
responses: {
|
|
10390
|
-
/** @description
|
|
10557
|
+
/** @description Selection saved */
|
|
10391
10558
|
200: {
|
|
10392
10559
|
headers: {
|
|
10393
10560
|
[name: string]: unknown;
|
|
10394
10561
|
};
|
|
10395
10562
|
content: {
|
|
10396
|
-
"application/json": components["schemas"]["
|
|
10563
|
+
"application/json": components["schemas"]["AiModelSelectionResponseDto"];
|
|
10397
10564
|
};
|
|
10398
10565
|
};
|
|
10399
|
-
/** @description
|
|
10566
|
+
/** @description AI provider not found */
|
|
10400
10567
|
404: {
|
|
10401
10568
|
headers: {
|
|
10402
10569
|
[name: string]: unknown;
|
|
@@ -10405,16 +10572,19 @@ export interface operations {
|
|
|
10405
10572
|
};
|
|
10406
10573
|
};
|
|
10407
10574
|
};
|
|
10408
|
-
|
|
10575
|
+
AiModelSelectionsController_clearAiModelSelection: {
|
|
10409
10576
|
parameters: {
|
|
10410
10577
|
query?: never;
|
|
10411
10578
|
header?: never;
|
|
10412
|
-
path
|
|
10579
|
+
path: {
|
|
10580
|
+
/** @description The job the model is selected for */
|
|
10581
|
+
job: "conversation" | "quick_tasks" | "middle_manager" | "embeddings";
|
|
10582
|
+
};
|
|
10413
10583
|
cookie?: never;
|
|
10414
10584
|
};
|
|
10415
10585
|
requestBody?: never;
|
|
10416
10586
|
responses: {
|
|
10417
|
-
/** @description
|
|
10587
|
+
/** @description Selection cleared */
|
|
10418
10588
|
204: {
|
|
10419
10589
|
headers: {
|
|
10420
10590
|
[name: string]: unknown;
|