@hautechai/sdk 2.11.1 → 2.11.3
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/index.d.mts +1040 -2168
- package/dist/index.d.ts +1040 -2168
- package/dist/index.js +4 -248
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -218
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -10347,8 +10347,6 @@ __export(index_exports, {
|
|
|
10347
10347
|
EchoV1ResponseStatus: () => EchoV1ResponseStatus,
|
|
10348
10348
|
EditFluxKontextDevV1ResponseKind: () => EditFluxKontextDevV1ResponseKind,
|
|
10349
10349
|
EditFluxKontextDevV1ResponseStatus: () => EditFluxKontextDevV1ResponseStatus,
|
|
10350
|
-
Flux11ProUltraV1ResponseKind: () => Flux11ProUltraV1ResponseKind,
|
|
10351
|
-
Flux11ProUltraV1ResponseStatus: () => Flux11ProUltraV1ResponseStatus,
|
|
10352
10350
|
GPTV1InputModel: () => GPTV1InputModel,
|
|
10353
10351
|
GPTV2AssistantMessageDtoRole: () => GPTV2AssistantMessageDtoRole,
|
|
10354
10352
|
GPTV2DeveloperMessageDtoRole: () => GPTV2DeveloperMessageDtoRole,
|
|
@@ -10361,29 +10359,16 @@ __export(index_exports, {
|
|
|
10361
10359
|
GPTV2ToolDtoType: () => GPTV2ToolDtoType,
|
|
10362
10360
|
GPTV2ToolMessageDtoRole: () => GPTV2ToolMessageDtoRole,
|
|
10363
10361
|
GPTV2UserMessageDtoRole: () => GPTV2UserMessageDtoRole,
|
|
10364
|
-
GPTV3AnnotationDtoType: () => GPTV3AnnotationDtoType,
|
|
10365
|
-
GPTV3AssistantMessageDtoRole: () => GPTV3AssistantMessageDtoRole,
|
|
10366
|
-
GPTV3AssistantMessageDtoType: () => GPTV3AssistantMessageDtoType,
|
|
10367
|
-
GPTV3ContentWithAnnotationsDtoType: () => GPTV3ContentWithAnnotationsDtoType,
|
|
10368
|
-
GPTV3DeveloperMessageDtoRole: () => GPTV3DeveloperMessageDtoRole,
|
|
10369
|
-
GPTV3DeveloperMessageDtoType: () => GPTV3DeveloperMessageDtoType,
|
|
10370
10362
|
GPTV3FileSearchCallDtoType: () => GPTV3FileSearchCallDtoType,
|
|
10371
|
-
GPTV3FileSearchResultDtoStatus: () => GPTV3FileSearchResultDtoStatus,
|
|
10372
|
-
GPTV3FileSearchResultDtoType: () => GPTV3FileSearchResultDtoType,
|
|
10373
10363
|
GPTV3FileSearchToolDtoType: () => GPTV3FileSearchToolDtoType,
|
|
10374
|
-
GPTV3FunctionCallDtoType: () => GPTV3FunctionCallDtoType,
|
|
10375
10364
|
GPTV3FunctionToolDtoType: () => GPTV3FunctionToolDtoType,
|
|
10376
10365
|
GPTV3ImageGenerationCallDtoType: () => GPTV3ImageGenerationCallDtoType,
|
|
10377
|
-
GPTV3ImageGenerationResultDtoStatus: () => GPTV3ImageGenerationResultDtoStatus,
|
|
10378
|
-
GPTV3ImageGenerationResultDtoType: () => GPTV3ImageGenerationResultDtoType,
|
|
10379
10366
|
GPTV3ImageGenerationToolDtoQuality: () => GPTV3ImageGenerationToolDtoQuality,
|
|
10380
10367
|
GPTV3ImageGenerationToolDtoSize: () => GPTV3ImageGenerationToolDtoSize,
|
|
10381
10368
|
GPTV3ImageGenerationToolDtoType: () => GPTV3ImageGenerationToolDtoType,
|
|
10382
10369
|
GPTV3ImageInputDtoDetail: () => GPTV3ImageInputDtoDetail,
|
|
10383
10370
|
GPTV3ImageInputDtoType: () => GPTV3ImageInputDtoType,
|
|
10384
10371
|
GPTV3InputModel: () => GPTV3InputModel,
|
|
10385
|
-
GPTV3MessageContentDtoRole: () => GPTV3MessageContentDtoRole,
|
|
10386
|
-
GPTV3MessageContentDtoType: () => GPTV3MessageContentDtoType,
|
|
10387
10372
|
GPTV3OutputKind: () => GPTV3OutputKind,
|
|
10388
10373
|
GPTV3ResponseCodeInterpreterToolCallDtoStatus: () => GPTV3ResponseCodeInterpreterToolCallDtoStatus,
|
|
10389
10374
|
GPTV3ResponseCodeInterpreterToolCallDtoType: () => GPTV3ResponseCodeInterpreterToolCallDtoType,
|
|
@@ -10404,8 +10389,6 @@ __export(index_exports, {
|
|
|
10404
10389
|
GPTV3ResponseCustomToolCallDtoStatus: () => GPTV3ResponseCustomToolCallDtoStatus,
|
|
10405
10390
|
GPTV3ResponseCustomToolCallDtoType: () => GPTV3ResponseCustomToolCallDtoType,
|
|
10406
10391
|
GPTV3ResponseCustomToolCallOutputDtoType: () => GPTV3ResponseCustomToolCallOutputDtoType,
|
|
10407
|
-
GPTV3ResponseDtoFinishReason: () => GPTV3ResponseDtoFinishReason,
|
|
10408
|
-
GPTV3ResponseDtoRole: () => GPTV3ResponseDtoRole,
|
|
10409
10392
|
GPTV3ResponseFileSearchToolCallDtoStatus: () => GPTV3ResponseFileSearchToolCallDtoStatus,
|
|
10410
10393
|
GPTV3ResponseFileSearchToolCallDtoType: () => GPTV3ResponseFileSearchToolCallDtoType,
|
|
10411
10394
|
GPTV3ResponseFormatJsonSchemaDtoType: () => GPTV3ResponseFormatJsonSchemaDtoType,
|
|
@@ -10453,16 +10436,8 @@ __export(index_exports, {
|
|
|
10453
10436
|
GPTV3ResponseReasoningItemDtoStatus: () => GPTV3ResponseReasoningItemDtoStatus,
|
|
10454
10437
|
GPTV3ResponseReasoningItemDtoType: () => GPTV3ResponseReasoningItemDtoType,
|
|
10455
10438
|
GPTV3ResponseReasoningItemSummaryDtoType: () => GPTV3ResponseReasoningItemSummaryDtoType,
|
|
10456
|
-
GPTV3SystemMessageDtoRole: () => GPTV3SystemMessageDtoRole,
|
|
10457
|
-
GPTV3SystemMessageDtoType: () => GPTV3SystemMessageDtoType,
|
|
10458
10439
|
GPTV3TextInputDtoType: () => GPTV3TextInputDtoType,
|
|
10459
|
-
GPTV3ToolChoiceDtoType: () => GPTV3ToolChoiceDtoType,
|
|
10460
|
-
GPTV3ToolDtoType: () => GPTV3ToolDtoType,
|
|
10461
|
-
GPTV3UserMessageDtoRole: () => GPTV3UserMessageDtoRole,
|
|
10462
|
-
GPTV3UserMessageDtoType: () => GPTV3UserMessageDtoType,
|
|
10463
10440
|
GPTV3WebSearchCallDtoType: () => GPTV3WebSearchCallDtoType,
|
|
10464
|
-
GPTV3WebSearchResultDtoStatus: () => GPTV3WebSearchResultDtoStatus,
|
|
10465
|
-
GPTV3WebSearchResultDtoType: () => GPTV3WebSearchResultDtoType,
|
|
10466
10441
|
GPTV3WebSearchToolDtoSearchContextSize: () => GPTV3WebSearchToolDtoSearchContextSize,
|
|
10467
10442
|
GPTV3WebSearchToolDtoType: () => GPTV3WebSearchToolDtoType,
|
|
10468
10443
|
GetImageRepresentationParamsDtoType: () => GetImageRepresentationParamsDtoType,
|
|
@@ -10506,13 +10481,10 @@ __export(index_exports, {
|
|
|
10506
10481
|
ListOperationsParamsDtoOrderBy: () => ListOperationsParamsDtoOrderBy,
|
|
10507
10482
|
ListPosesParamsDtoOrderBy: () => ListPosesParamsDtoOrderBy,
|
|
10508
10483
|
ListStacksParamsDtoOrderBy: () => ListStacksParamsDtoOrderBy,
|
|
10509
|
-
LoraControllerListV1OrderBy: () => LoraControllerListV1OrderBy,
|
|
10510
|
-
LoraControllerListV1Status: () => LoraControllerListV1Status,
|
|
10511
10484
|
LoraDtoStatus: () => LoraDtoStatus,
|
|
10512
10485
|
LoraTrainingOutputKind: () => LoraTrainingOutputKind,
|
|
10513
10486
|
LoraTrainingResponseKind: () => LoraTrainingResponseKind,
|
|
10514
10487
|
LoraTrainingResponseStatus: () => LoraTrainingResponseStatus,
|
|
10515
|
-
LoraWebhookDtoStatus: () => LoraWebhookDtoStatus,
|
|
10516
10488
|
LumaPhotonV1InputAspectRatio: () => LumaPhotonV1InputAspectRatio,
|
|
10517
10489
|
LumaPhotonV1ResponseKind: () => LumaPhotonV1ResponseKind,
|
|
10518
10490
|
LumaPhotonV1ResponseStatus: () => LumaPhotonV1ResponseStatus,
|
|
@@ -10576,8 +10548,6 @@ __export(index_exports, {
|
|
|
10576
10548
|
SelfAccountDtoType: () => SelfAccountDtoType,
|
|
10577
10549
|
StackEntityKind: () => StackEntityKind,
|
|
10578
10550
|
StacksControllerListStacksV1OrderBy: () => StacksControllerListStacksV1OrderBy,
|
|
10579
|
-
StartNaomiTrainingParamsDtoLrScheduler: () => StartNaomiTrainingParamsDtoLrScheduler,
|
|
10580
|
-
StartNaomiTrainingParamsDtoMixedPrecision: () => StartNaomiTrainingParamsDtoMixedPrecision,
|
|
10581
10551
|
StartTrainingParamsDtoModelType: () => StartTrainingParamsDtoModelType,
|
|
10582
10552
|
StorageEntityKind: () => StorageEntityKind,
|
|
10583
10553
|
StringsTemplateV1ResponseKind: () => StringsTemplateV1ResponseKind,
|
|
@@ -11754,9 +11724,8 @@ var getOperations = () => {
|
|
|
11754
11724
|
};
|
|
11755
11725
|
|
|
11756
11726
|
// src/sdk/api-definitions/operations.ts
|
|
11757
|
-
var waitOperation = wrapCustomMethod(async function(operation, timeoutMs = 6e4) {
|
|
11727
|
+
var waitOperation = wrapCustomMethod(async function(operation, timeoutMs = 6e4, delay = 3e3) {
|
|
11758
11728
|
const deadline = Date.now() + timeoutMs;
|
|
11759
|
-
const delay = 3e3;
|
|
11760
11729
|
const sdk = this;
|
|
11761
11730
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
11762
11731
|
const poll = async (id) => {
|
|
@@ -12562,18 +12531,6 @@ var EditFluxKontextDevV1ResponseStatus = {
|
|
|
12562
12531
|
failed: "failed"
|
|
12563
12532
|
};
|
|
12564
12533
|
|
|
12565
|
-
// src/autogenerated/schemas/flux11ProUltraV1ResponseKind.ts
|
|
12566
|
-
var Flux11ProUltraV1ResponseKind = {
|
|
12567
|
-
operation: "operation"
|
|
12568
|
-
};
|
|
12569
|
-
|
|
12570
|
-
// src/autogenerated/schemas/flux11ProUltraV1ResponseStatus.ts
|
|
12571
|
-
var Flux11ProUltraV1ResponseStatus = {
|
|
12572
|
-
pending: "pending",
|
|
12573
|
-
finished: "finished",
|
|
12574
|
-
failed: "failed"
|
|
12575
|
-
};
|
|
12576
|
-
|
|
12577
12534
|
// src/autogenerated/schemas/gPTV1InputModel.ts
|
|
12578
12535
|
var GPTV1InputModel = {
|
|
12579
12536
|
"gpt-4o": "gpt-4o",
|
|
@@ -12644,64 +12601,16 @@ var GPTV2UserMessageDtoRole = {
|
|
|
12644
12601
|
user: "user"
|
|
12645
12602
|
};
|
|
12646
12603
|
|
|
12647
|
-
// src/autogenerated/schemas/gPTV3AnnotationDtoType.ts
|
|
12648
|
-
var GPTV3AnnotationDtoType = {
|
|
12649
|
-
file_citation: "file_citation",
|
|
12650
|
-
url_citation: "url_citation"
|
|
12651
|
-
};
|
|
12652
|
-
|
|
12653
|
-
// src/autogenerated/schemas/gPTV3AssistantMessageDtoRole.ts
|
|
12654
|
-
var GPTV3AssistantMessageDtoRole = {
|
|
12655
|
-
assistant: "assistant"
|
|
12656
|
-
};
|
|
12657
|
-
|
|
12658
|
-
// src/autogenerated/schemas/gPTV3AssistantMessageDtoType.ts
|
|
12659
|
-
var GPTV3AssistantMessageDtoType = {
|
|
12660
|
-
message: "message"
|
|
12661
|
-
};
|
|
12662
|
-
|
|
12663
|
-
// src/autogenerated/schemas/gPTV3ContentWithAnnotationsDtoType.ts
|
|
12664
|
-
var GPTV3ContentWithAnnotationsDtoType = {
|
|
12665
|
-
output_text: "output_text"
|
|
12666
|
-
};
|
|
12667
|
-
|
|
12668
|
-
// src/autogenerated/schemas/gPTV3DeveloperMessageDtoRole.ts
|
|
12669
|
-
var GPTV3DeveloperMessageDtoRole = {
|
|
12670
|
-
developer: "developer"
|
|
12671
|
-
};
|
|
12672
|
-
|
|
12673
|
-
// src/autogenerated/schemas/gPTV3DeveloperMessageDtoType.ts
|
|
12674
|
-
var GPTV3DeveloperMessageDtoType = {
|
|
12675
|
-
message: "message"
|
|
12676
|
-
};
|
|
12677
|
-
|
|
12678
12604
|
// src/autogenerated/schemas/gPTV3FileSearchCallDtoType.ts
|
|
12679
12605
|
var GPTV3FileSearchCallDtoType = {
|
|
12680
12606
|
file_search: "file_search"
|
|
12681
12607
|
};
|
|
12682
12608
|
|
|
12683
|
-
// src/autogenerated/schemas/gPTV3FileSearchResultDtoStatus.ts
|
|
12684
|
-
var GPTV3FileSearchResultDtoStatus = {
|
|
12685
|
-
completed: "completed",
|
|
12686
|
-
failed: "failed",
|
|
12687
|
-
pending: "pending"
|
|
12688
|
-
};
|
|
12689
|
-
|
|
12690
|
-
// src/autogenerated/schemas/gPTV3FileSearchResultDtoType.ts
|
|
12691
|
-
var GPTV3FileSearchResultDtoType = {
|
|
12692
|
-
file_search_call: "file_search_call"
|
|
12693
|
-
};
|
|
12694
|
-
|
|
12695
12609
|
// src/autogenerated/schemas/gPTV3FileSearchToolDtoType.ts
|
|
12696
12610
|
var GPTV3FileSearchToolDtoType = {
|
|
12697
12611
|
file_search: "file_search"
|
|
12698
12612
|
};
|
|
12699
12613
|
|
|
12700
|
-
// src/autogenerated/schemas/gPTV3FunctionCallDtoType.ts
|
|
12701
|
-
var GPTV3FunctionCallDtoType = {
|
|
12702
|
-
function: "function"
|
|
12703
|
-
};
|
|
12704
|
-
|
|
12705
12614
|
// src/autogenerated/schemas/gPTV3FunctionToolDtoType.ts
|
|
12706
12615
|
var GPTV3FunctionToolDtoType = {
|
|
12707
12616
|
function: "function"
|
|
@@ -12712,18 +12621,6 @@ var GPTV3ImageGenerationCallDtoType = {
|
|
|
12712
12621
|
image_generation: "image_generation"
|
|
12713
12622
|
};
|
|
12714
12623
|
|
|
12715
|
-
// src/autogenerated/schemas/gPTV3ImageGenerationResultDtoStatus.ts
|
|
12716
|
-
var GPTV3ImageGenerationResultDtoStatus = {
|
|
12717
|
-
completed: "completed",
|
|
12718
|
-
failed: "failed",
|
|
12719
|
-
pending: "pending"
|
|
12720
|
-
};
|
|
12721
|
-
|
|
12722
|
-
// src/autogenerated/schemas/gPTV3ImageGenerationResultDtoType.ts
|
|
12723
|
-
var GPTV3ImageGenerationResultDtoType = {
|
|
12724
|
-
image_generation_call: "image_generation_call"
|
|
12725
|
-
};
|
|
12726
|
-
|
|
12727
12624
|
// src/autogenerated/schemas/gPTV3ImageGenerationToolDtoQuality.ts
|
|
12728
12625
|
var GPTV3ImageGenerationToolDtoQuality = {
|
|
12729
12626
|
auto: "auto",
|
|
@@ -12768,16 +12665,6 @@ var GPTV3InputModel = {
|
|
|
12768
12665
|
"gpt-41-nano": "gpt-4.1-nano"
|
|
12769
12666
|
};
|
|
12770
12667
|
|
|
12771
|
-
// src/autogenerated/schemas/gPTV3MessageContentDtoRole.ts
|
|
12772
|
-
var GPTV3MessageContentDtoRole = {
|
|
12773
|
-
assistant: "assistant"
|
|
12774
|
-
};
|
|
12775
|
-
|
|
12776
|
-
// src/autogenerated/schemas/gPTV3MessageContentDtoType.ts
|
|
12777
|
-
var GPTV3MessageContentDtoType = {
|
|
12778
|
-
message: "message"
|
|
12779
|
-
};
|
|
12780
|
-
|
|
12781
12668
|
// src/autogenerated/schemas/gPTV3OutputKind.ts
|
|
12782
12669
|
var GPTV3OutputKind = {
|
|
12783
12670
|
json: "json"
|
|
@@ -12890,17 +12777,6 @@ var GPTV3ResponseCustomToolCallOutputDtoType = {
|
|
|
12890
12777
|
custom_tool_call_output: "custom_tool_call_output"
|
|
12891
12778
|
};
|
|
12892
12779
|
|
|
12893
|
-
// src/autogenerated/schemas/gPTV3ResponseDtoFinishReason.ts
|
|
12894
|
-
var GPTV3ResponseDtoFinishReason = {
|
|
12895
|
-
stop: "stop",
|
|
12896
|
-
tool_calls: "tool_calls"
|
|
12897
|
-
};
|
|
12898
|
-
|
|
12899
|
-
// src/autogenerated/schemas/gPTV3ResponseDtoRole.ts
|
|
12900
|
-
var GPTV3ResponseDtoRole = {
|
|
12901
|
-
assistant: "assistant"
|
|
12902
|
-
};
|
|
12903
|
-
|
|
12904
12780
|
// src/autogenerated/schemas/gPTV3ResponseFileSearchToolCallDtoStatus.ts
|
|
12905
12781
|
var GPTV3ResponseFileSearchToolCallDtoStatus = {
|
|
12906
12782
|
in_progress: "in_progress",
|
|
@@ -13167,67 +13043,16 @@ var GPTV3ResponseReasoningItemSummaryDtoType = {
|
|
|
13167
13043
|
summary_text: "summary_text"
|
|
13168
13044
|
};
|
|
13169
13045
|
|
|
13170
|
-
// src/autogenerated/schemas/gPTV3SystemMessageDtoRole.ts
|
|
13171
|
-
var GPTV3SystemMessageDtoRole = {
|
|
13172
|
-
system: "system"
|
|
13173
|
-
};
|
|
13174
|
-
|
|
13175
|
-
// src/autogenerated/schemas/gPTV3SystemMessageDtoType.ts
|
|
13176
|
-
var GPTV3SystemMessageDtoType = {
|
|
13177
|
-
message: "message"
|
|
13178
|
-
};
|
|
13179
|
-
|
|
13180
13046
|
// src/autogenerated/schemas/gPTV3TextInputDtoType.ts
|
|
13181
13047
|
var GPTV3TextInputDtoType = {
|
|
13182
13048
|
input_text: "input_text"
|
|
13183
13049
|
};
|
|
13184
13050
|
|
|
13185
|
-
// src/autogenerated/schemas/gPTV3ToolChoiceDtoType.ts
|
|
13186
|
-
var GPTV3ToolChoiceDtoType = {
|
|
13187
|
-
none: "none",
|
|
13188
|
-
auto: "auto",
|
|
13189
|
-
required: "required",
|
|
13190
|
-
function: "function",
|
|
13191
|
-
file_search: "file_search",
|
|
13192
|
-
web_search_preview: "web_search_preview",
|
|
13193
|
-
image_generation: "image_generation"
|
|
13194
|
-
};
|
|
13195
|
-
|
|
13196
|
-
// src/autogenerated/schemas/gPTV3ToolDtoType.ts
|
|
13197
|
-
var GPTV3ToolDtoType = {
|
|
13198
|
-
function: "function",
|
|
13199
|
-
file_search: "file_search",
|
|
13200
|
-
web_search_preview: "web_search_preview",
|
|
13201
|
-
image_generation: "image_generation"
|
|
13202
|
-
};
|
|
13203
|
-
|
|
13204
|
-
// src/autogenerated/schemas/gPTV3UserMessageDtoRole.ts
|
|
13205
|
-
var GPTV3UserMessageDtoRole = {
|
|
13206
|
-
user: "user"
|
|
13207
|
-
};
|
|
13208
|
-
|
|
13209
|
-
// src/autogenerated/schemas/gPTV3UserMessageDtoType.ts
|
|
13210
|
-
var GPTV3UserMessageDtoType = {
|
|
13211
|
-
message: "message"
|
|
13212
|
-
};
|
|
13213
|
-
|
|
13214
13051
|
// src/autogenerated/schemas/gPTV3WebSearchCallDtoType.ts
|
|
13215
13052
|
var GPTV3WebSearchCallDtoType = {
|
|
13216
13053
|
web_search_preview: "web_search_preview"
|
|
13217
13054
|
};
|
|
13218
13055
|
|
|
13219
|
-
// src/autogenerated/schemas/gPTV3WebSearchResultDtoStatus.ts
|
|
13220
|
-
var GPTV3WebSearchResultDtoStatus = {
|
|
13221
|
-
completed: "completed",
|
|
13222
|
-
failed: "failed",
|
|
13223
|
-
pending: "pending"
|
|
13224
|
-
};
|
|
13225
|
-
|
|
13226
|
-
// src/autogenerated/schemas/gPTV3WebSearchResultDtoType.ts
|
|
13227
|
-
var GPTV3WebSearchResultDtoType = {
|
|
13228
|
-
web_search_call: "web_search_call"
|
|
13229
|
-
};
|
|
13230
|
-
|
|
13231
13056
|
// src/autogenerated/schemas/gPTV3WebSearchToolDtoSearchContextSize.ts
|
|
13232
13057
|
var GPTV3WebSearchToolDtoSearchContextSize = {
|
|
13233
13058
|
low: "low",
|
|
@@ -13555,21 +13380,6 @@ var ListStacksParamsDtoOrderBy = {
|
|
|
13555
13380
|
updatedAt_DESC: "updatedAt_DESC"
|
|
13556
13381
|
};
|
|
13557
13382
|
|
|
13558
|
-
// src/autogenerated/schemas/loraControllerListV1OrderBy.ts
|
|
13559
|
-
var LoraControllerListV1OrderBy = {
|
|
13560
|
-
createdAt_ASC: "createdAt_ASC",
|
|
13561
|
-
createdAt_DESC: "createdAt_DESC"
|
|
13562
|
-
};
|
|
13563
|
-
|
|
13564
|
-
// src/autogenerated/schemas/loraControllerListV1Status.ts
|
|
13565
|
-
var LoraControllerListV1Status = {
|
|
13566
|
-
starting: "starting",
|
|
13567
|
-
processing: "processing",
|
|
13568
|
-
succeeded: "succeeded",
|
|
13569
|
-
failed: "failed",
|
|
13570
|
-
canceled: "canceled"
|
|
13571
|
-
};
|
|
13572
|
-
|
|
13573
13383
|
// src/autogenerated/schemas/loraDtoStatus.ts
|
|
13574
13384
|
var LoraDtoStatus = {
|
|
13575
13385
|
starting: "starting",
|
|
@@ -13596,15 +13406,6 @@ var LoraTrainingResponseStatus = {
|
|
|
13596
13406
|
failed: "failed"
|
|
13597
13407
|
};
|
|
13598
13408
|
|
|
13599
|
-
// src/autogenerated/schemas/loraWebhookDtoStatus.ts
|
|
13600
|
-
var LoraWebhookDtoStatus = {
|
|
13601
|
-
starting: "starting",
|
|
13602
|
-
processing: "processing",
|
|
13603
|
-
succeeded: "succeeded",
|
|
13604
|
-
failed: "failed",
|
|
13605
|
-
canceled: "canceled"
|
|
13606
|
-
};
|
|
13607
|
-
|
|
13608
13409
|
// src/autogenerated/schemas/lumaPhotonV1InputAspectRatio.ts
|
|
13609
13410
|
var LumaPhotonV1InputAspectRatio = {
|
|
13610
13411
|
"1:1": "1:1",
|
|
@@ -14031,20 +13832,6 @@ var StacksControllerListStacksV1OrderBy = {
|
|
|
14031
13832
|
updatedAt_DESC: "updatedAt_DESC"
|
|
14032
13833
|
};
|
|
14033
13834
|
|
|
14034
|
-
// src/autogenerated/schemas/startNaomiTrainingParamsDtoLrScheduler.ts
|
|
14035
|
-
var StartNaomiTrainingParamsDtoLrScheduler = {
|
|
14036
|
-
linear: "linear",
|
|
14037
|
-
cosine: "cosine",
|
|
14038
|
-
polynomial: "polynomial"
|
|
14039
|
-
};
|
|
14040
|
-
|
|
14041
|
-
// src/autogenerated/schemas/startNaomiTrainingParamsDtoMixedPrecision.ts
|
|
14042
|
-
var StartNaomiTrainingParamsDtoMixedPrecision = {
|
|
14043
|
-
no: "no",
|
|
14044
|
-
fp16: "fp16",
|
|
14045
|
-
bf16: "bf16"
|
|
14046
|
-
};
|
|
14047
|
-
|
|
14048
13835
|
// src/autogenerated/schemas/startTrainingParamsDtoModelType.ts
|
|
14049
13836
|
var StartTrainingParamsDtoModelType = {
|
|
14050
13837
|
flux: "flux",
|
|
@@ -15412,9 +15199,9 @@ var usePipelinesApi = () => {
|
|
|
15412
15199
|
createFromTemplate: wrapCustomMethod(function(template, params) {
|
|
15413
15200
|
const sdk = this;
|
|
15414
15201
|
return sdk.pipelines.create({
|
|
15415
|
-
pipelineInput: template.
|
|
15202
|
+
pipelineInput: template.getInput(),
|
|
15416
15203
|
tasks: template.tasks,
|
|
15417
|
-
outputRef: template
|
|
15204
|
+
outputRef: template.$output,
|
|
15418
15205
|
state: template.state,
|
|
15419
15206
|
...params
|
|
15420
15207
|
});
|
|
@@ -15426,10 +15213,9 @@ var usePipelinesApi = () => {
|
|
|
15426
15213
|
const sdk = this;
|
|
15427
15214
|
return builder(buildPipeline(sdk));
|
|
15428
15215
|
}),
|
|
15429
|
-
wait: wrapCustomMethod(async function(pipeline, timeoutMs = 6e4) {
|
|
15216
|
+
wait: wrapCustomMethod(async function(pipeline, timeoutMs = 6e4, delay = 3e3) {
|
|
15430
15217
|
const sdk = this;
|
|
15431
15218
|
const deadline = Date.now() + timeoutMs;
|
|
15432
|
-
const delay = 3e3;
|
|
15433
15219
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
15434
15220
|
const poll = async (id) => {
|
|
15435
15221
|
const pipeline2 = await sdk.pipelines.get(id);
|
|
@@ -15770,8 +15556,6 @@ var createTokenSigner = (options) => {
|
|
|
15770
15556
|
EchoV1ResponseStatus,
|
|
15771
15557
|
EditFluxKontextDevV1ResponseKind,
|
|
15772
15558
|
EditFluxKontextDevV1ResponseStatus,
|
|
15773
|
-
Flux11ProUltraV1ResponseKind,
|
|
15774
|
-
Flux11ProUltraV1ResponseStatus,
|
|
15775
15559
|
GPTV1InputModel,
|
|
15776
15560
|
GPTV2AssistantMessageDtoRole,
|
|
15777
15561
|
GPTV2DeveloperMessageDtoRole,
|
|
@@ -15784,29 +15568,16 @@ var createTokenSigner = (options) => {
|
|
|
15784
15568
|
GPTV2ToolDtoType,
|
|
15785
15569
|
GPTV2ToolMessageDtoRole,
|
|
15786
15570
|
GPTV2UserMessageDtoRole,
|
|
15787
|
-
GPTV3AnnotationDtoType,
|
|
15788
|
-
GPTV3AssistantMessageDtoRole,
|
|
15789
|
-
GPTV3AssistantMessageDtoType,
|
|
15790
|
-
GPTV3ContentWithAnnotationsDtoType,
|
|
15791
|
-
GPTV3DeveloperMessageDtoRole,
|
|
15792
|
-
GPTV3DeveloperMessageDtoType,
|
|
15793
15571
|
GPTV3FileSearchCallDtoType,
|
|
15794
|
-
GPTV3FileSearchResultDtoStatus,
|
|
15795
|
-
GPTV3FileSearchResultDtoType,
|
|
15796
15572
|
GPTV3FileSearchToolDtoType,
|
|
15797
|
-
GPTV3FunctionCallDtoType,
|
|
15798
15573
|
GPTV3FunctionToolDtoType,
|
|
15799
15574
|
GPTV3ImageGenerationCallDtoType,
|
|
15800
|
-
GPTV3ImageGenerationResultDtoStatus,
|
|
15801
|
-
GPTV3ImageGenerationResultDtoType,
|
|
15802
15575
|
GPTV3ImageGenerationToolDtoQuality,
|
|
15803
15576
|
GPTV3ImageGenerationToolDtoSize,
|
|
15804
15577
|
GPTV3ImageGenerationToolDtoType,
|
|
15805
15578
|
GPTV3ImageInputDtoDetail,
|
|
15806
15579
|
GPTV3ImageInputDtoType,
|
|
15807
15580
|
GPTV3InputModel,
|
|
15808
|
-
GPTV3MessageContentDtoRole,
|
|
15809
|
-
GPTV3MessageContentDtoType,
|
|
15810
15581
|
GPTV3OutputKind,
|
|
15811
15582
|
GPTV3ResponseCodeInterpreterToolCallDtoStatus,
|
|
15812
15583
|
GPTV3ResponseCodeInterpreterToolCallDtoType,
|
|
@@ -15827,8 +15598,6 @@ var createTokenSigner = (options) => {
|
|
|
15827
15598
|
GPTV3ResponseCustomToolCallDtoStatus,
|
|
15828
15599
|
GPTV3ResponseCustomToolCallDtoType,
|
|
15829
15600
|
GPTV3ResponseCustomToolCallOutputDtoType,
|
|
15830
|
-
GPTV3ResponseDtoFinishReason,
|
|
15831
|
-
GPTV3ResponseDtoRole,
|
|
15832
15601
|
GPTV3ResponseFileSearchToolCallDtoStatus,
|
|
15833
15602
|
GPTV3ResponseFileSearchToolCallDtoType,
|
|
15834
15603
|
GPTV3ResponseFormatJsonSchemaDtoType,
|
|
@@ -15876,16 +15645,8 @@ var createTokenSigner = (options) => {
|
|
|
15876
15645
|
GPTV3ResponseReasoningItemDtoStatus,
|
|
15877
15646
|
GPTV3ResponseReasoningItemDtoType,
|
|
15878
15647
|
GPTV3ResponseReasoningItemSummaryDtoType,
|
|
15879
|
-
GPTV3SystemMessageDtoRole,
|
|
15880
|
-
GPTV3SystemMessageDtoType,
|
|
15881
15648
|
GPTV3TextInputDtoType,
|
|
15882
|
-
GPTV3ToolChoiceDtoType,
|
|
15883
|
-
GPTV3ToolDtoType,
|
|
15884
|
-
GPTV3UserMessageDtoRole,
|
|
15885
|
-
GPTV3UserMessageDtoType,
|
|
15886
15649
|
GPTV3WebSearchCallDtoType,
|
|
15887
|
-
GPTV3WebSearchResultDtoStatus,
|
|
15888
|
-
GPTV3WebSearchResultDtoType,
|
|
15889
15650
|
GPTV3WebSearchToolDtoSearchContextSize,
|
|
15890
15651
|
GPTV3WebSearchToolDtoType,
|
|
15891
15652
|
GetImageRepresentationParamsDtoType,
|
|
@@ -15929,13 +15690,10 @@ var createTokenSigner = (options) => {
|
|
|
15929
15690
|
ListOperationsParamsDtoOrderBy,
|
|
15930
15691
|
ListPosesParamsDtoOrderBy,
|
|
15931
15692
|
ListStacksParamsDtoOrderBy,
|
|
15932
|
-
LoraControllerListV1OrderBy,
|
|
15933
|
-
LoraControllerListV1Status,
|
|
15934
15693
|
LoraDtoStatus,
|
|
15935
15694
|
LoraTrainingOutputKind,
|
|
15936
15695
|
LoraTrainingResponseKind,
|
|
15937
15696
|
LoraTrainingResponseStatus,
|
|
15938
|
-
LoraWebhookDtoStatus,
|
|
15939
15697
|
LumaPhotonV1InputAspectRatio,
|
|
15940
15698
|
LumaPhotonV1ResponseKind,
|
|
15941
15699
|
LumaPhotonV1ResponseStatus,
|
|
@@ -15999,8 +15757,6 @@ var createTokenSigner = (options) => {
|
|
|
15999
15757
|
SelfAccountDtoType,
|
|
16000
15758
|
StackEntityKind,
|
|
16001
15759
|
StacksControllerListStacksV1OrderBy,
|
|
16002
|
-
StartNaomiTrainingParamsDtoLrScheduler,
|
|
16003
|
-
StartNaomiTrainingParamsDtoMixedPrecision,
|
|
16004
15760
|
StartTrainingParamsDtoModelType,
|
|
16005
15761
|
StorageEntityKind,
|
|
16006
15762
|
StringsTemplateV1ResponseKind,
|