qovery-typescript-axios 1.1.1018 → 1.1.1020
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/api.ts +69 -13
- package/dist/api.d.ts +68 -12
- package/dist/api.js +11 -10
- package/dist/esm/api.d.ts +68 -12
- package/dist/esm/api.js +11 -10
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -215,7 +215,7 @@ export interface AgenticWorkflowModelRequest {
|
|
|
215
215
|
*/
|
|
216
216
|
'settings'?: string;
|
|
217
217
|
/**
|
|
218
|
-
* An existing LLM provider to take the credential from, instead of `api_key`. The two are mutually exclusive: a request setting both is rejected. The provider must belong to the workflow\'s organization, be one the caller may use, and match `type`.
|
|
218
|
+
* An existing LLM provider to take the credential from, instead of `api_key`. The two are mutually exclusive: a request setting both is rejected. The provider must belong to the workflow\'s organization, be one the caller may use, and match `type`. A provider of type ANTHROPIC_COMPATIBLE matches a workflow `type` of CLAUDE.
|
|
219
219
|
* @type {string}
|
|
220
220
|
* @memberof AgenticWorkflowModelRequest
|
|
221
221
|
*/
|
|
@@ -5796,6 +5796,43 @@ export interface BuildSettings {
|
|
|
5796
5796
|
*/
|
|
5797
5797
|
'skip_git_submodules'?: boolean;
|
|
5798
5798
|
}
|
|
5799
|
+
/**
|
|
5800
|
+
* Resources the builder used during this build, image push and cache export included. Only set on BUILD. Compare them with the service\'s build CPU and memory settings. The four usage fields come together, or are all absent when no sample was taken (a build shorter than the sampling interval, or a cluster without a metrics API).
|
|
5801
|
+
* @export
|
|
5802
|
+
* @interface BuilderUsage
|
|
5803
|
+
*/
|
|
5804
|
+
export interface BuilderUsage {
|
|
5805
|
+
/**
|
|
5806
|
+
* Highest CPU use seen, in millicores.
|
|
5807
|
+
* @type {number}
|
|
5808
|
+
* @memberof BuilderUsage
|
|
5809
|
+
*/
|
|
5810
|
+
'cpu_milli_max'?: number;
|
|
5811
|
+
/**
|
|
5812
|
+
* Average CPU use over the samples, in millicores.
|
|
5813
|
+
* @type {number}
|
|
5814
|
+
* @memberof BuilderUsage
|
|
5815
|
+
*/
|
|
5816
|
+
'cpu_milli_avg'?: number;
|
|
5817
|
+
/**
|
|
5818
|
+
* Highest memory use seen, in MiB.
|
|
5819
|
+
* @type {number}
|
|
5820
|
+
* @memberof BuilderUsage
|
|
5821
|
+
*/
|
|
5822
|
+
'memory_mib_max'?: number;
|
|
5823
|
+
/**
|
|
5824
|
+
* Number of samples the values above come from. Usage is sampled periodically, so a short build has few samples and its peaks can be missed.
|
|
5825
|
+
* @type {number}
|
|
5826
|
+
* @memberof BuilderUsage
|
|
5827
|
+
*/
|
|
5828
|
+
'samples'?: number;
|
|
5829
|
+
/**
|
|
5830
|
+
* Present, and true, only when the builder was killed for running out of memory. Absent otherwise: never test it against false. Raising the build memory setting fixes it.
|
|
5831
|
+
* @type {boolean}
|
|
5832
|
+
* @memberof BuilderUsage
|
|
5833
|
+
*/
|
|
5834
|
+
'oom_killed'?: boolean;
|
|
5835
|
+
}
|
|
5799
5836
|
/**
|
|
5800
5837
|
*
|
|
5801
5838
|
* @export
|
|
@@ -20800,7 +20837,7 @@ export interface ListTfVarsFilesFromGitRepo200Response {
|
|
|
20800
20837
|
*/
|
|
20801
20838
|
export interface LlmProviderModelResponse {
|
|
20802
20839
|
/**
|
|
20803
|
-
* Anthropic model id,
|
|
20840
|
+
* Anthropic model id, Bedrock inference profile id, or the model id of a custom Anthropic-compatible gateway, which can be any string
|
|
20804
20841
|
* @type {string}
|
|
20805
20842
|
* @memberof LlmProviderModelResponse
|
|
20806
20843
|
*/
|
|
@@ -20856,7 +20893,7 @@ export interface LlmProviderRequest {
|
|
|
20856
20893
|
*/
|
|
20857
20894
|
'type': LlmProviderType;
|
|
20858
20895
|
/**
|
|
20859
|
-
* The provider credential. Encrypted at rest and never returned by the API. Blank means unchanged: on create no credential is stored, on edit the stored one is kept. Sending a nonblank value rotates it.
|
|
20896
|
+
* The provider credential. Encrypted at rest and never returned by the API. Blank means unchanged: on create no credential is stored, on edit the stored one is kept. Sending a nonblank value rotates it. CLAUDE sends it to Anthropic as an API key. ANTHROPIC_COMPATIBLE sends it to its gateway as a bearer token only, never as an API key.
|
|
20860
20897
|
* @type {string}
|
|
20861
20898
|
* @memberof LlmProviderRequest
|
|
20862
20899
|
*/
|
|
@@ -20873,6 +20910,12 @@ export interface LlmProviderRequest {
|
|
|
20873
20910
|
* @memberof LlmProviderRequest
|
|
20874
20911
|
*/
|
|
20875
20912
|
'region'?: string | null;
|
|
20913
|
+
/**
|
|
20914
|
+
* Root of the custom Anthropic-compatible API. Required for an ANTHROPIC_COMPATIBLE provider and refused with 400 for CLAUDE and BEDROCK. It is an absolute HTTP or HTTPS URL with a host and an optional path prefix, and no user info, query or fragment. A port, when given, must be between 1 and 65535. Like region, an edit replaces it: omitting it or sending null is refused for ANTHROPIC_COMPATIBLE, so an edit must resend it.
|
|
20915
|
+
* @type {string}
|
|
20916
|
+
* @memberof LlmProviderRequest
|
|
20917
|
+
*/
|
|
20918
|
+
'base_url'?: string | null;
|
|
20876
20919
|
}
|
|
20877
20920
|
|
|
20878
20921
|
|
|
@@ -20948,6 +20991,12 @@ export interface LlmProviderResponse {
|
|
|
20948
20991
|
* @memberof LlmProviderResponse
|
|
20949
20992
|
*/
|
|
20950
20993
|
'region'?: string | null;
|
|
20994
|
+
/**
|
|
20995
|
+
* Root of the custom Anthropic-compatible API of an ANTHROPIC_COMPATIBLE provider. Null for CLAUDE and BEDROCK.
|
|
20996
|
+
* @type {string}
|
|
20997
|
+
* @memberof LlmProviderResponse
|
|
20998
|
+
*/
|
|
20999
|
+
'base_url'?: string | null;
|
|
20951
21000
|
}
|
|
20952
21001
|
|
|
20953
21002
|
|
|
@@ -20979,14 +21028,15 @@ export type LlmProviderScope = typeof LlmProviderScope[keyof typeof LlmProviderS
|
|
|
20979
21028
|
|
|
20980
21029
|
|
|
20981
21030
|
/**
|
|
20982
|
-
* The LLM vendor this provider authenticates against.
|
|
21031
|
+
* The LLM vendor this provider authenticates against. CLAUDE and BEDROCK match the type an agentic workflow\'s inline model already uses. ANTHROPIC_COMPATIBLE is a custom Anthropic-compatible API, such as a gateway, reached at its `base_url`; a workflow that uses it runs as a CLAUDE model.
|
|
20983
21032
|
* @export
|
|
20984
21033
|
* @enum {string}
|
|
20985
21034
|
*/
|
|
20986
21035
|
|
|
20987
21036
|
export const LlmProviderType = {
|
|
20988
21037
|
CLAUDE: 'CLAUDE',
|
|
20989
|
-
BEDROCK: 'BEDROCK'
|
|
21038
|
+
BEDROCK: 'BEDROCK',
|
|
21039
|
+
ANTHROPIC_COMPATIBLE: 'ANTHROPIC_COMPATIBLE'
|
|
20990
21040
|
} as const;
|
|
20991
21041
|
|
|
20992
21042
|
export type LlmProviderType = typeof LlmProviderType[keyof typeof LlmProviderType];
|
|
@@ -26883,6 +26933,12 @@ export interface ServiceStepMetric {
|
|
|
26883
26933
|
* @memberof ServiceStepMetric
|
|
26884
26934
|
*/
|
|
26885
26935
|
'sub_steps'?: Array<ServiceSubStepMetric>;
|
|
26936
|
+
/**
|
|
26937
|
+
*
|
|
26938
|
+
* @type {BuilderUsage}
|
|
26939
|
+
* @memberof ServiceStepMetric
|
|
26940
|
+
*/
|
|
26941
|
+
'builder_usage'?: BuilderUsage;
|
|
26886
26942
|
}
|
|
26887
26943
|
|
|
26888
26944
|
|
|
@@ -65854,7 +65910,7 @@ export const LLMProvidersApiAxiosParamCreator = function (configuration?: Config
|
|
|
65854
65910
|
};
|
|
65855
65911
|
},
|
|
65856
65912
|
/**
|
|
65857
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
65913
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
65858
65914
|
* @summary Edit an LLM provider
|
|
65859
65915
|
* @param {string} llmProviderId LLM Provider ID
|
|
65860
65916
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -65942,7 +65998,7 @@ export const LLMProvidersApiAxiosParamCreator = function (configuration?: Config
|
|
|
65942
65998
|
};
|
|
65943
65999
|
},
|
|
65944
66000
|
/**
|
|
65945
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66001
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
65946
66002
|
* @summary List the models of an LLM provider
|
|
65947
66003
|
* @param {string} llmProviderId LLM Provider ID
|
|
65948
66004
|
* @param {*} [options] Override http request option.
|
|
@@ -66061,7 +66117,7 @@ export const LLMProvidersApiFp = function(configuration?: Configuration) {
|
|
|
66061
66117
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66062
66118
|
},
|
|
66063
66119
|
/**
|
|
66064
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
66120
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
66065
66121
|
* @summary Edit an LLM provider
|
|
66066
66122
|
* @param {string} llmProviderId LLM Provider ID
|
|
66067
66123
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -66088,7 +66144,7 @@ export const LLMProvidersApiFp = function(configuration?: Configuration) {
|
|
|
66088
66144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66089
66145
|
},
|
|
66090
66146
|
/**
|
|
66091
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66147
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66092
66148
|
* @summary List the models of an LLM provider
|
|
66093
66149
|
* @param {string} llmProviderId LLM Provider ID
|
|
66094
66150
|
* @param {*} [options] Override http request option.
|
|
@@ -66145,7 +66201,7 @@ export const LLMProvidersApiFactory = function (configuration?: Configuration, b
|
|
|
66145
66201
|
return localVarFp.deleteLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
66146
66202
|
},
|
|
66147
66203
|
/**
|
|
66148
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
66204
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
66149
66205
|
* @summary Edit an LLM provider
|
|
66150
66206
|
* @param {string} llmProviderId LLM Provider ID
|
|
66151
66207
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -66166,7 +66222,7 @@ export const LLMProvidersApiFactory = function (configuration?: Configuration, b
|
|
|
66166
66222
|
return localVarFp.getLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
66167
66223
|
},
|
|
66168
66224
|
/**
|
|
66169
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66225
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66170
66226
|
* @summary List the models of an LLM provider
|
|
66171
66227
|
* @param {string} llmProviderId LLM Provider ID
|
|
66172
66228
|
* @param {*} [options] Override http request option.
|
|
@@ -66221,7 +66277,7 @@ export class LLMProvidersApi extends BaseAPI {
|
|
|
66221
66277
|
}
|
|
66222
66278
|
|
|
66223
66279
|
/**
|
|
66224
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
66280
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
66225
66281
|
* @summary Edit an LLM provider
|
|
66226
66282
|
* @param {string} llmProviderId LLM Provider ID
|
|
66227
66283
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -66246,7 +66302,7 @@ export class LLMProvidersApi extends BaseAPI {
|
|
|
66246
66302
|
}
|
|
66247
66303
|
|
|
66248
66304
|
/**
|
|
66249
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66305
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66250
66306
|
* @summary List the models of an LLM provider
|
|
66251
66307
|
* @param {string} llmProviderId LLM Provider ID
|
|
66252
66308
|
* @param {*} [options] Override http request option.
|
package/dist/api.d.ts
CHANGED
|
@@ -193,7 +193,7 @@ export interface AgenticWorkflowModelRequest {
|
|
|
193
193
|
*/
|
|
194
194
|
'settings'?: string;
|
|
195
195
|
/**
|
|
196
|
-
* An existing LLM provider to take the credential from, instead of `api_key`. The two are mutually exclusive: a request setting both is rejected. The provider must belong to the workflow\'s organization, be one the caller may use, and match `type`.
|
|
196
|
+
* An existing LLM provider to take the credential from, instead of `api_key`. The two are mutually exclusive: a request setting both is rejected. The provider must belong to the workflow\'s organization, be one the caller may use, and match `type`. A provider of type ANTHROPIC_COMPATIBLE matches a workflow `type` of CLAUDE.
|
|
197
197
|
* @type {string}
|
|
198
198
|
* @memberof AgenticWorkflowModelRequest
|
|
199
199
|
*/
|
|
@@ -5620,6 +5620,43 @@ export interface BuildSettings {
|
|
|
5620
5620
|
*/
|
|
5621
5621
|
'skip_git_submodules'?: boolean;
|
|
5622
5622
|
}
|
|
5623
|
+
/**
|
|
5624
|
+
* Resources the builder used during this build, image push and cache export included. Only set on BUILD. Compare them with the service\'s build CPU and memory settings. The four usage fields come together, or are all absent when no sample was taken (a build shorter than the sampling interval, or a cluster without a metrics API).
|
|
5625
|
+
* @export
|
|
5626
|
+
* @interface BuilderUsage
|
|
5627
|
+
*/
|
|
5628
|
+
export interface BuilderUsage {
|
|
5629
|
+
/**
|
|
5630
|
+
* Highest CPU use seen, in millicores.
|
|
5631
|
+
* @type {number}
|
|
5632
|
+
* @memberof BuilderUsage
|
|
5633
|
+
*/
|
|
5634
|
+
'cpu_milli_max'?: number;
|
|
5635
|
+
/**
|
|
5636
|
+
* Average CPU use over the samples, in millicores.
|
|
5637
|
+
* @type {number}
|
|
5638
|
+
* @memberof BuilderUsage
|
|
5639
|
+
*/
|
|
5640
|
+
'cpu_milli_avg'?: number;
|
|
5641
|
+
/**
|
|
5642
|
+
* Highest memory use seen, in MiB.
|
|
5643
|
+
* @type {number}
|
|
5644
|
+
* @memberof BuilderUsage
|
|
5645
|
+
*/
|
|
5646
|
+
'memory_mib_max'?: number;
|
|
5647
|
+
/**
|
|
5648
|
+
* Number of samples the values above come from. Usage is sampled periodically, so a short build has few samples and its peaks can be missed.
|
|
5649
|
+
* @type {number}
|
|
5650
|
+
* @memberof BuilderUsage
|
|
5651
|
+
*/
|
|
5652
|
+
'samples'?: number;
|
|
5653
|
+
/**
|
|
5654
|
+
* Present, and true, only when the builder was killed for running out of memory. Absent otherwise: never test it against false. Raising the build memory setting fixes it.
|
|
5655
|
+
* @type {boolean}
|
|
5656
|
+
* @memberof BuilderUsage
|
|
5657
|
+
*/
|
|
5658
|
+
'oom_killed'?: boolean;
|
|
5659
|
+
}
|
|
5623
5660
|
/**
|
|
5624
5661
|
*
|
|
5625
5662
|
* @export
|
|
@@ -20231,7 +20268,7 @@ export interface ListTfVarsFilesFromGitRepo200Response {
|
|
|
20231
20268
|
*/
|
|
20232
20269
|
export interface LlmProviderModelResponse {
|
|
20233
20270
|
/**
|
|
20234
|
-
* Anthropic model id,
|
|
20271
|
+
* Anthropic model id, Bedrock inference profile id, or the model id of a custom Anthropic-compatible gateway, which can be any string
|
|
20235
20272
|
* @type {string}
|
|
20236
20273
|
* @memberof LlmProviderModelResponse
|
|
20237
20274
|
*/
|
|
@@ -20287,7 +20324,7 @@ export interface LlmProviderRequest {
|
|
|
20287
20324
|
*/
|
|
20288
20325
|
'type': LlmProviderType;
|
|
20289
20326
|
/**
|
|
20290
|
-
* The provider credential. Encrypted at rest and never returned by the API. Blank means unchanged: on create no credential is stored, on edit the stored one is kept. Sending a nonblank value rotates it.
|
|
20327
|
+
* The provider credential. Encrypted at rest and never returned by the API. Blank means unchanged: on create no credential is stored, on edit the stored one is kept. Sending a nonblank value rotates it. CLAUDE sends it to Anthropic as an API key. ANTHROPIC_COMPATIBLE sends it to its gateway as a bearer token only, never as an API key.
|
|
20291
20328
|
* @type {string}
|
|
20292
20329
|
* @memberof LlmProviderRequest
|
|
20293
20330
|
*/
|
|
@@ -20304,6 +20341,12 @@ export interface LlmProviderRequest {
|
|
|
20304
20341
|
* @memberof LlmProviderRequest
|
|
20305
20342
|
*/
|
|
20306
20343
|
'region'?: string | null;
|
|
20344
|
+
/**
|
|
20345
|
+
* Root of the custom Anthropic-compatible API. Required for an ANTHROPIC_COMPATIBLE provider and refused with 400 for CLAUDE and BEDROCK. It is an absolute HTTP or HTTPS URL with a host and an optional path prefix, and no user info, query or fragment. A port, when given, must be between 1 and 65535. Like region, an edit replaces it: omitting it or sending null is refused for ANTHROPIC_COMPATIBLE, so an edit must resend it.
|
|
20346
|
+
* @type {string}
|
|
20347
|
+
* @memberof LlmProviderRequest
|
|
20348
|
+
*/
|
|
20349
|
+
'base_url'?: string | null;
|
|
20307
20350
|
}
|
|
20308
20351
|
/**
|
|
20309
20352
|
*
|
|
@@ -20377,6 +20420,12 @@ export interface LlmProviderResponse {
|
|
|
20377
20420
|
* @memberof LlmProviderResponse
|
|
20378
20421
|
*/
|
|
20379
20422
|
'region'?: string | null;
|
|
20423
|
+
/**
|
|
20424
|
+
* Root of the custom Anthropic-compatible API of an ANTHROPIC_COMPATIBLE provider. Null for CLAUDE and BEDROCK.
|
|
20425
|
+
* @type {string}
|
|
20426
|
+
* @memberof LlmProviderResponse
|
|
20427
|
+
*/
|
|
20428
|
+
'base_url'?: string | null;
|
|
20380
20429
|
}
|
|
20381
20430
|
/**
|
|
20382
20431
|
*
|
|
@@ -20402,13 +20451,14 @@ export declare const LlmProviderScope: {
|
|
|
20402
20451
|
};
|
|
20403
20452
|
export type LlmProviderScope = typeof LlmProviderScope[keyof typeof LlmProviderScope];
|
|
20404
20453
|
/**
|
|
20405
|
-
* The LLM vendor this provider authenticates against.
|
|
20454
|
+
* The LLM vendor this provider authenticates against. CLAUDE and BEDROCK match the type an agentic workflow\'s inline model already uses. ANTHROPIC_COMPATIBLE is a custom Anthropic-compatible API, such as a gateway, reached at its `base_url`; a workflow that uses it runs as a CLAUDE model.
|
|
20406
20455
|
* @export
|
|
20407
20456
|
* @enum {string}
|
|
20408
20457
|
*/
|
|
20409
20458
|
export declare const LlmProviderType: {
|
|
20410
20459
|
readonly CLAUDE: "CLAUDE";
|
|
20411
20460
|
readonly BEDROCK: "BEDROCK";
|
|
20461
|
+
readonly ANTHROPIC_COMPATIBLE: "ANTHROPIC_COMPATIBLE";
|
|
20412
20462
|
};
|
|
20413
20463
|
export type LlmProviderType = typeof LlmProviderType[keyof typeof LlmProviderType];
|
|
20414
20464
|
/**
|
|
@@ -26097,6 +26147,12 @@ export interface ServiceStepMetric {
|
|
|
26097
26147
|
* @memberof ServiceStepMetric
|
|
26098
26148
|
*/
|
|
26099
26149
|
'sub_steps'?: Array<ServiceSubStepMetric>;
|
|
26150
|
+
/**
|
|
26151
|
+
*
|
|
26152
|
+
* @type {BuilderUsage}
|
|
26153
|
+
* @memberof ServiceStepMetric
|
|
26154
|
+
*/
|
|
26155
|
+
'builder_usage'?: BuilderUsage;
|
|
26100
26156
|
}
|
|
26101
26157
|
/**
|
|
26102
26158
|
* The name of the deployment step at the service level: - REGISTRY_CREATE_REPOSITORY: The step to create the repository in the registry. - GIT_CLONE: The step to clone the source code repository. - BUILD_QUEUEING: The queuing time preceding the actual building step. - BUILD: The step to build the source code. - DEPLOYMENT_QUEUEING: The queuing time preceding the actual deployment step. - DEPLOYMENT: The step to deploy the service. - ROUTER_DEPLOYMENT: The step to deploy the router. - MIRROR_IMAGE: The step to mirror the image to the private registry. - EXECUTING: The step to execute a job or terraform apply.
|
|
@@ -45455,7 +45511,7 @@ export declare const LLMProvidersApiAxiosParamCreator: (configuration?: Configur
|
|
|
45455
45511
|
*/
|
|
45456
45512
|
deleteLlmProvider: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45457
45513
|
/**
|
|
45458
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
45514
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
45459
45515
|
* @summary Edit an LLM provider
|
|
45460
45516
|
* @param {string} llmProviderId LLM Provider ID
|
|
45461
45517
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -45472,7 +45528,7 @@ export declare const LLMProvidersApiAxiosParamCreator: (configuration?: Configur
|
|
|
45472
45528
|
*/
|
|
45473
45529
|
getLlmProvider: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45474
45530
|
/**
|
|
45475
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45531
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45476
45532
|
* @summary List the models of an LLM provider
|
|
45477
45533
|
* @param {string} llmProviderId LLM Provider ID
|
|
45478
45534
|
* @param {*} [options] Override http request option.
|
|
@@ -45511,7 +45567,7 @@ export declare const LLMProvidersApiFp: (configuration?: Configuration) => {
|
|
|
45511
45567
|
*/
|
|
45512
45568
|
deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
45513
45569
|
/**
|
|
45514
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
45570
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
45515
45571
|
* @summary Edit an LLM provider
|
|
45516
45572
|
* @param {string} llmProviderId LLM Provider ID
|
|
45517
45573
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -45528,7 +45584,7 @@ export declare const LLMProvidersApiFp: (configuration?: Configuration) => {
|
|
|
45528
45584
|
*/
|
|
45529
45585
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>>;
|
|
45530
45586
|
/**
|
|
45531
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45587
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45532
45588
|
* @summary List the models of an LLM provider
|
|
45533
45589
|
* @param {string} llmProviderId LLM Provider ID
|
|
45534
45590
|
* @param {*} [options] Override http request option.
|
|
@@ -45567,7 +45623,7 @@ export declare const LLMProvidersApiFactory: (configuration?: Configuration, bas
|
|
|
45567
45623
|
*/
|
|
45568
45624
|
deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
45569
45625
|
/**
|
|
45570
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
45626
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
45571
45627
|
* @summary Edit an LLM provider
|
|
45572
45628
|
* @param {string} llmProviderId LLM Provider ID
|
|
45573
45629
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -45584,7 +45640,7 @@ export declare const LLMProvidersApiFactory: (configuration?: Configuration, bas
|
|
|
45584
45640
|
*/
|
|
45585
45641
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse>;
|
|
45586
45642
|
/**
|
|
45587
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45643
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45588
45644
|
* @summary List the models of an LLM provider
|
|
45589
45645
|
* @param {string} llmProviderId LLM Provider ID
|
|
45590
45646
|
* @param {*} [options] Override http request option.
|
|
@@ -45627,7 +45683,7 @@ export declare class LLMProvidersApi extends BaseAPI {
|
|
|
45627
45683
|
*/
|
|
45628
45684
|
deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
45629
45685
|
/**
|
|
45630
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
45686
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
45631
45687
|
* @summary Edit an LLM provider
|
|
45632
45688
|
* @param {string} llmProviderId LLM Provider ID
|
|
45633
45689
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -45646,7 +45702,7 @@ export declare class LLMProvidersApi extends BaseAPI {
|
|
|
45646
45702
|
*/
|
|
45647
45703
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmProviderResponse, any, {}, any>>;
|
|
45648
45704
|
/**
|
|
45649
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45705
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45650
45706
|
* @summary List the models of an LLM provider
|
|
45651
45707
|
* @param {string} llmProviderId LLM Provider ID
|
|
45652
45708
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -1118,13 +1118,14 @@ exports.LlmProviderScope = {
|
|
|
1118
1118
|
USER: 'USER'
|
|
1119
1119
|
};
|
|
1120
1120
|
/**
|
|
1121
|
-
* The LLM vendor this provider authenticates against.
|
|
1121
|
+
* The LLM vendor this provider authenticates against. CLAUDE and BEDROCK match the type an agentic workflow\'s inline model already uses. ANTHROPIC_COMPATIBLE is a custom Anthropic-compatible API, such as a gateway, reached at its `base_url`; a workflow that uses it runs as a CLAUDE model.
|
|
1122
1122
|
* @export
|
|
1123
1123
|
* @enum {string}
|
|
1124
1124
|
*/
|
|
1125
1125
|
exports.LlmProviderType = {
|
|
1126
1126
|
CLAUDE: 'CLAUDE',
|
|
1127
|
-
BEDROCK: 'BEDROCK'
|
|
1127
|
+
BEDROCK: 'BEDROCK',
|
|
1128
|
+
ANTHROPIC_COMPATIBLE: 'ANTHROPIC_COMPATIBLE'
|
|
1128
1129
|
};
|
|
1129
1130
|
/**
|
|
1130
1131
|
* ORGANIZATION: usable by every member who can edit an agentic workflow. USER: personal to the member who created it; only that member can attach or edit it.
|
|
@@ -35495,7 +35496,7 @@ const LLMProvidersApiAxiosParamCreator = function (configuration) {
|
|
|
35495
35496
|
};
|
|
35496
35497
|
}),
|
|
35497
35498
|
/**
|
|
35498
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
35499
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
35499
35500
|
* @summary Edit an LLM provider
|
|
35500
35501
|
* @param {string} llmProviderId LLM Provider ID
|
|
35501
35502
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -35568,7 +35569,7 @@ const LLMProvidersApiAxiosParamCreator = function (configuration) {
|
|
|
35568
35569
|
};
|
|
35569
35570
|
}),
|
|
35570
35571
|
/**
|
|
35571
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35572
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35572
35573
|
* @summary List the models of an LLM provider
|
|
35573
35574
|
* @param {string} llmProviderId LLM Provider ID
|
|
35574
35575
|
* @param {*} [options] Override http request option.
|
|
@@ -35679,7 +35680,7 @@ const LLMProvidersApiFp = function (configuration) {
|
|
|
35679
35680
|
});
|
|
35680
35681
|
},
|
|
35681
35682
|
/**
|
|
35682
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
35683
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
35683
35684
|
* @summary Edit an LLM provider
|
|
35684
35685
|
* @param {string} llmProviderId LLM Provider ID
|
|
35685
35686
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -35712,7 +35713,7 @@ const LLMProvidersApiFp = function (configuration) {
|
|
|
35712
35713
|
});
|
|
35713
35714
|
},
|
|
35714
35715
|
/**
|
|
35715
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35716
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35716
35717
|
* @summary List the models of an LLM provider
|
|
35717
35718
|
* @param {string} llmProviderId LLM Provider ID
|
|
35718
35719
|
* @param {*} [options] Override http request option.
|
|
@@ -35775,7 +35776,7 @@ const LLMProvidersApiFactory = function (configuration, basePath, axios) {
|
|
|
35775
35776
|
return localVarFp.deleteLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
35776
35777
|
},
|
|
35777
35778
|
/**
|
|
35778
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
35779
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
35779
35780
|
* @summary Edit an LLM provider
|
|
35780
35781
|
* @param {string} llmProviderId LLM Provider ID
|
|
35781
35782
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -35796,7 +35797,7 @@ const LLMProvidersApiFactory = function (configuration, basePath, axios) {
|
|
|
35796
35797
|
return localVarFp.getLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
35797
35798
|
},
|
|
35798
35799
|
/**
|
|
35799
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35800
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35800
35801
|
* @summary List the models of an LLM provider
|
|
35801
35802
|
* @param {string} llmProviderId LLM Provider ID
|
|
35802
35803
|
* @param {*} [options] Override http request option.
|
|
@@ -35849,7 +35850,7 @@ class LLMProvidersApi extends base_1.BaseAPI {
|
|
|
35849
35850
|
return (0, exports.LLMProvidersApiFp)(this.configuration).deleteLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
35850
35851
|
}
|
|
35851
35852
|
/**
|
|
35852
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
35853
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
35853
35854
|
* @summary Edit an LLM provider
|
|
35854
35855
|
* @param {string} llmProviderId LLM Provider ID
|
|
35855
35856
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -35872,7 +35873,7 @@ class LLMProvidersApi extends base_1.BaseAPI {
|
|
|
35872
35873
|
return (0, exports.LLMProvidersApiFp)(this.configuration).getLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
35873
35874
|
}
|
|
35874
35875
|
/**
|
|
35875
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35876
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35876
35877
|
* @summary List the models of an LLM provider
|
|
35877
35878
|
* @param {string} llmProviderId LLM Provider ID
|
|
35878
35879
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -193,7 +193,7 @@ export interface AgenticWorkflowModelRequest {
|
|
|
193
193
|
*/
|
|
194
194
|
'settings'?: string;
|
|
195
195
|
/**
|
|
196
|
-
* An existing LLM provider to take the credential from, instead of `api_key`. The two are mutually exclusive: a request setting both is rejected. The provider must belong to the workflow\'s organization, be one the caller may use, and match `type`.
|
|
196
|
+
* An existing LLM provider to take the credential from, instead of `api_key`. The two are mutually exclusive: a request setting both is rejected. The provider must belong to the workflow\'s organization, be one the caller may use, and match `type`. A provider of type ANTHROPIC_COMPATIBLE matches a workflow `type` of CLAUDE.
|
|
197
197
|
* @type {string}
|
|
198
198
|
* @memberof AgenticWorkflowModelRequest
|
|
199
199
|
*/
|
|
@@ -5620,6 +5620,43 @@ export interface BuildSettings {
|
|
|
5620
5620
|
*/
|
|
5621
5621
|
'skip_git_submodules'?: boolean;
|
|
5622
5622
|
}
|
|
5623
|
+
/**
|
|
5624
|
+
* Resources the builder used during this build, image push and cache export included. Only set on BUILD. Compare them with the service\'s build CPU and memory settings. The four usage fields come together, or are all absent when no sample was taken (a build shorter than the sampling interval, or a cluster without a metrics API).
|
|
5625
|
+
* @export
|
|
5626
|
+
* @interface BuilderUsage
|
|
5627
|
+
*/
|
|
5628
|
+
export interface BuilderUsage {
|
|
5629
|
+
/**
|
|
5630
|
+
* Highest CPU use seen, in millicores.
|
|
5631
|
+
* @type {number}
|
|
5632
|
+
* @memberof BuilderUsage
|
|
5633
|
+
*/
|
|
5634
|
+
'cpu_milli_max'?: number;
|
|
5635
|
+
/**
|
|
5636
|
+
* Average CPU use over the samples, in millicores.
|
|
5637
|
+
* @type {number}
|
|
5638
|
+
* @memberof BuilderUsage
|
|
5639
|
+
*/
|
|
5640
|
+
'cpu_milli_avg'?: number;
|
|
5641
|
+
/**
|
|
5642
|
+
* Highest memory use seen, in MiB.
|
|
5643
|
+
* @type {number}
|
|
5644
|
+
* @memberof BuilderUsage
|
|
5645
|
+
*/
|
|
5646
|
+
'memory_mib_max'?: number;
|
|
5647
|
+
/**
|
|
5648
|
+
* Number of samples the values above come from. Usage is sampled periodically, so a short build has few samples and its peaks can be missed.
|
|
5649
|
+
* @type {number}
|
|
5650
|
+
* @memberof BuilderUsage
|
|
5651
|
+
*/
|
|
5652
|
+
'samples'?: number;
|
|
5653
|
+
/**
|
|
5654
|
+
* Present, and true, only when the builder was killed for running out of memory. Absent otherwise: never test it against false. Raising the build memory setting fixes it.
|
|
5655
|
+
* @type {boolean}
|
|
5656
|
+
* @memberof BuilderUsage
|
|
5657
|
+
*/
|
|
5658
|
+
'oom_killed'?: boolean;
|
|
5659
|
+
}
|
|
5623
5660
|
/**
|
|
5624
5661
|
*
|
|
5625
5662
|
* @export
|
|
@@ -20231,7 +20268,7 @@ export interface ListTfVarsFilesFromGitRepo200Response {
|
|
|
20231
20268
|
*/
|
|
20232
20269
|
export interface LlmProviderModelResponse {
|
|
20233
20270
|
/**
|
|
20234
|
-
* Anthropic model id,
|
|
20271
|
+
* Anthropic model id, Bedrock inference profile id, or the model id of a custom Anthropic-compatible gateway, which can be any string
|
|
20235
20272
|
* @type {string}
|
|
20236
20273
|
* @memberof LlmProviderModelResponse
|
|
20237
20274
|
*/
|
|
@@ -20287,7 +20324,7 @@ export interface LlmProviderRequest {
|
|
|
20287
20324
|
*/
|
|
20288
20325
|
'type': LlmProviderType;
|
|
20289
20326
|
/**
|
|
20290
|
-
* The provider credential. Encrypted at rest and never returned by the API. Blank means unchanged: on create no credential is stored, on edit the stored one is kept. Sending a nonblank value rotates it.
|
|
20327
|
+
* The provider credential. Encrypted at rest and never returned by the API. Blank means unchanged: on create no credential is stored, on edit the stored one is kept. Sending a nonblank value rotates it. CLAUDE sends it to Anthropic as an API key. ANTHROPIC_COMPATIBLE sends it to its gateway as a bearer token only, never as an API key.
|
|
20291
20328
|
* @type {string}
|
|
20292
20329
|
* @memberof LlmProviderRequest
|
|
20293
20330
|
*/
|
|
@@ -20304,6 +20341,12 @@ export interface LlmProviderRequest {
|
|
|
20304
20341
|
* @memberof LlmProviderRequest
|
|
20305
20342
|
*/
|
|
20306
20343
|
'region'?: string | null;
|
|
20344
|
+
/**
|
|
20345
|
+
* Root of the custom Anthropic-compatible API. Required for an ANTHROPIC_COMPATIBLE provider and refused with 400 for CLAUDE and BEDROCK. It is an absolute HTTP or HTTPS URL with a host and an optional path prefix, and no user info, query or fragment. A port, when given, must be between 1 and 65535. Like region, an edit replaces it: omitting it or sending null is refused for ANTHROPIC_COMPATIBLE, so an edit must resend it.
|
|
20346
|
+
* @type {string}
|
|
20347
|
+
* @memberof LlmProviderRequest
|
|
20348
|
+
*/
|
|
20349
|
+
'base_url'?: string | null;
|
|
20307
20350
|
}
|
|
20308
20351
|
/**
|
|
20309
20352
|
*
|
|
@@ -20377,6 +20420,12 @@ export interface LlmProviderResponse {
|
|
|
20377
20420
|
* @memberof LlmProviderResponse
|
|
20378
20421
|
*/
|
|
20379
20422
|
'region'?: string | null;
|
|
20423
|
+
/**
|
|
20424
|
+
* Root of the custom Anthropic-compatible API of an ANTHROPIC_COMPATIBLE provider. Null for CLAUDE and BEDROCK.
|
|
20425
|
+
* @type {string}
|
|
20426
|
+
* @memberof LlmProviderResponse
|
|
20427
|
+
*/
|
|
20428
|
+
'base_url'?: string | null;
|
|
20380
20429
|
}
|
|
20381
20430
|
/**
|
|
20382
20431
|
*
|
|
@@ -20402,13 +20451,14 @@ export declare const LlmProviderScope: {
|
|
|
20402
20451
|
};
|
|
20403
20452
|
export type LlmProviderScope = typeof LlmProviderScope[keyof typeof LlmProviderScope];
|
|
20404
20453
|
/**
|
|
20405
|
-
* The LLM vendor this provider authenticates against.
|
|
20454
|
+
* The LLM vendor this provider authenticates against. CLAUDE and BEDROCK match the type an agentic workflow\'s inline model already uses. ANTHROPIC_COMPATIBLE is a custom Anthropic-compatible API, such as a gateway, reached at its `base_url`; a workflow that uses it runs as a CLAUDE model.
|
|
20406
20455
|
* @export
|
|
20407
20456
|
* @enum {string}
|
|
20408
20457
|
*/
|
|
20409
20458
|
export declare const LlmProviderType: {
|
|
20410
20459
|
readonly CLAUDE: "CLAUDE";
|
|
20411
20460
|
readonly BEDROCK: "BEDROCK";
|
|
20461
|
+
readonly ANTHROPIC_COMPATIBLE: "ANTHROPIC_COMPATIBLE";
|
|
20412
20462
|
};
|
|
20413
20463
|
export type LlmProviderType = typeof LlmProviderType[keyof typeof LlmProviderType];
|
|
20414
20464
|
/**
|
|
@@ -26097,6 +26147,12 @@ export interface ServiceStepMetric {
|
|
|
26097
26147
|
* @memberof ServiceStepMetric
|
|
26098
26148
|
*/
|
|
26099
26149
|
'sub_steps'?: Array<ServiceSubStepMetric>;
|
|
26150
|
+
/**
|
|
26151
|
+
*
|
|
26152
|
+
* @type {BuilderUsage}
|
|
26153
|
+
* @memberof ServiceStepMetric
|
|
26154
|
+
*/
|
|
26155
|
+
'builder_usage'?: BuilderUsage;
|
|
26100
26156
|
}
|
|
26101
26157
|
/**
|
|
26102
26158
|
* The name of the deployment step at the service level: - REGISTRY_CREATE_REPOSITORY: The step to create the repository in the registry. - GIT_CLONE: The step to clone the source code repository. - BUILD_QUEUEING: The queuing time preceding the actual building step. - BUILD: The step to build the source code. - DEPLOYMENT_QUEUEING: The queuing time preceding the actual deployment step. - DEPLOYMENT: The step to deploy the service. - ROUTER_DEPLOYMENT: The step to deploy the router. - MIRROR_IMAGE: The step to mirror the image to the private registry. - EXECUTING: The step to execute a job or terraform apply.
|
|
@@ -45455,7 +45511,7 @@ export declare const LLMProvidersApiAxiosParamCreator: (configuration?: Configur
|
|
|
45455
45511
|
*/
|
|
45456
45512
|
deleteLlmProvider: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45457
45513
|
/**
|
|
45458
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
45514
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
45459
45515
|
* @summary Edit an LLM provider
|
|
45460
45516
|
* @param {string} llmProviderId LLM Provider ID
|
|
45461
45517
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -45472,7 +45528,7 @@ export declare const LLMProvidersApiAxiosParamCreator: (configuration?: Configur
|
|
|
45472
45528
|
*/
|
|
45473
45529
|
getLlmProvider: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45474
45530
|
/**
|
|
45475
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45531
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45476
45532
|
* @summary List the models of an LLM provider
|
|
45477
45533
|
* @param {string} llmProviderId LLM Provider ID
|
|
45478
45534
|
* @param {*} [options] Override http request option.
|
|
@@ -45511,7 +45567,7 @@ export declare const LLMProvidersApiFp: (configuration?: Configuration) => {
|
|
|
45511
45567
|
*/
|
|
45512
45568
|
deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
45513
45569
|
/**
|
|
45514
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
45570
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
45515
45571
|
* @summary Edit an LLM provider
|
|
45516
45572
|
* @param {string} llmProviderId LLM Provider ID
|
|
45517
45573
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -45528,7 +45584,7 @@ export declare const LLMProvidersApiFp: (configuration?: Configuration) => {
|
|
|
45528
45584
|
*/
|
|
45529
45585
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>>;
|
|
45530
45586
|
/**
|
|
45531
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45587
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45532
45588
|
* @summary List the models of an LLM provider
|
|
45533
45589
|
* @param {string} llmProviderId LLM Provider ID
|
|
45534
45590
|
* @param {*} [options] Override http request option.
|
|
@@ -45567,7 +45623,7 @@ export declare const LLMProvidersApiFactory: (configuration?: Configuration, bas
|
|
|
45567
45623
|
*/
|
|
45568
45624
|
deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
45569
45625
|
/**
|
|
45570
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
45626
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
45571
45627
|
* @summary Edit an LLM provider
|
|
45572
45628
|
* @param {string} llmProviderId LLM Provider ID
|
|
45573
45629
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -45584,7 +45640,7 @@ export declare const LLMProvidersApiFactory: (configuration?: Configuration, bas
|
|
|
45584
45640
|
*/
|
|
45585
45641
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse>;
|
|
45586
45642
|
/**
|
|
45587
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45643
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45588
45644
|
* @summary List the models of an LLM provider
|
|
45589
45645
|
* @param {string} llmProviderId LLM Provider ID
|
|
45590
45646
|
* @param {*} [options] Override http request option.
|
|
@@ -45627,7 +45683,7 @@ export declare class LLMProvidersApi extends BaseAPI {
|
|
|
45627
45683
|
*/
|
|
45628
45684
|
deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
45629
45685
|
/**
|
|
45630
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
45686
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
45631
45687
|
* @summary Edit an LLM provider
|
|
45632
45688
|
* @param {string} llmProviderId LLM Provider ID
|
|
45633
45689
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -45646,7 +45702,7 @@ export declare class LLMProvidersApi extends BaseAPI {
|
|
|
45646
45702
|
*/
|
|
45647
45703
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmProviderResponse, any, {}, any>>;
|
|
45648
45704
|
/**
|
|
45649
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45705
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45650
45706
|
* @summary List the models of an LLM provider
|
|
45651
45707
|
* @param {string} llmProviderId LLM Provider ID
|
|
45652
45708
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -1103,13 +1103,14 @@ export const LlmProviderScope = {
|
|
|
1103
1103
|
USER: 'USER'
|
|
1104
1104
|
};
|
|
1105
1105
|
/**
|
|
1106
|
-
* The LLM vendor this provider authenticates against.
|
|
1106
|
+
* The LLM vendor this provider authenticates against. CLAUDE and BEDROCK match the type an agentic workflow\'s inline model already uses. ANTHROPIC_COMPATIBLE is a custom Anthropic-compatible API, such as a gateway, reached at its `base_url`; a workflow that uses it runs as a CLAUDE model.
|
|
1107
1107
|
* @export
|
|
1108
1108
|
* @enum {string}
|
|
1109
1109
|
*/
|
|
1110
1110
|
export const LlmProviderType = {
|
|
1111
1111
|
CLAUDE: 'CLAUDE',
|
|
1112
|
-
BEDROCK: 'BEDROCK'
|
|
1112
|
+
BEDROCK: 'BEDROCK',
|
|
1113
|
+
ANTHROPIC_COMPATIBLE: 'ANTHROPIC_COMPATIBLE'
|
|
1113
1114
|
};
|
|
1114
1115
|
/**
|
|
1115
1116
|
* ORGANIZATION: usable by every member who can edit an agentic workflow. USER: personal to the member who created it; only that member can attach or edit it.
|
|
@@ -35208,7 +35209,7 @@ export const LLMProvidersApiAxiosParamCreator = function (configuration) {
|
|
|
35208
35209
|
};
|
|
35209
35210
|
}),
|
|
35210
35211
|
/**
|
|
35211
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
35212
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
35212
35213
|
* @summary Edit an LLM provider
|
|
35213
35214
|
* @param {string} llmProviderId LLM Provider ID
|
|
35214
35215
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -35281,7 +35282,7 @@ export const LLMProvidersApiAxiosParamCreator = function (configuration) {
|
|
|
35281
35282
|
};
|
|
35282
35283
|
}),
|
|
35283
35284
|
/**
|
|
35284
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35285
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35285
35286
|
* @summary List the models of an LLM provider
|
|
35286
35287
|
* @param {string} llmProviderId LLM Provider ID
|
|
35287
35288
|
* @param {*} [options] Override http request option.
|
|
@@ -35391,7 +35392,7 @@ export const LLMProvidersApiFp = function (configuration) {
|
|
|
35391
35392
|
});
|
|
35392
35393
|
},
|
|
35393
35394
|
/**
|
|
35394
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
35395
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
35395
35396
|
* @summary Edit an LLM provider
|
|
35396
35397
|
* @param {string} llmProviderId LLM Provider ID
|
|
35397
35398
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -35424,7 +35425,7 @@ export const LLMProvidersApiFp = function (configuration) {
|
|
|
35424
35425
|
});
|
|
35425
35426
|
},
|
|
35426
35427
|
/**
|
|
35427
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35428
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35428
35429
|
* @summary List the models of an LLM provider
|
|
35429
35430
|
* @param {string} llmProviderId LLM Provider ID
|
|
35430
35431
|
* @param {*} [options] Override http request option.
|
|
@@ -35486,7 +35487,7 @@ export const LLMProvidersApiFactory = function (configuration, basePath, axios)
|
|
|
35486
35487
|
return localVarFp.deleteLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
35487
35488
|
},
|
|
35488
35489
|
/**
|
|
35489
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
35490
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
35490
35491
|
* @summary Edit an LLM provider
|
|
35491
35492
|
* @param {string} llmProviderId LLM Provider ID
|
|
35492
35493
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -35507,7 +35508,7 @@ export const LLMProvidersApiFactory = function (configuration, basePath, axios)
|
|
|
35507
35508
|
return localVarFp.getLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
35508
35509
|
},
|
|
35509
35510
|
/**
|
|
35510
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35511
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35511
35512
|
* @summary List the models of an LLM provider
|
|
35512
35513
|
* @param {string} llmProviderId LLM Provider ID
|
|
35513
35514
|
* @param {*} [options] Override http request option.
|
|
@@ -35559,7 +35560,7 @@ export class LLMProvidersApi extends BaseAPI {
|
|
|
35559
35560
|
return LLMProvidersApiFp(this.configuration).deleteLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
35560
35561
|
}
|
|
35561
35562
|
/**
|
|
35562
|
-
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
35563
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it. An ANTHROPIC_COMPATIBLE provider must resend its `base_url`.
|
|
35563
35564
|
* @summary Edit an LLM provider
|
|
35564
35565
|
* @param {string} llmProviderId LLM Provider ID
|
|
35565
35566
|
* @param {LlmProviderRequest} llmProviderRequest
|
|
@@ -35582,7 +35583,7 @@ export class LLMProvidersApi extends BaseAPI {
|
|
|
35582
35583
|
return LLMProvidersApiFp(this.configuration).getLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
35583
35584
|
}
|
|
35584
35585
|
/**
|
|
35585
|
-
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35586
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1; ANTHROPIC_COMPATIBLE lists the models of its custom gateway, whose ids can be any string, including namespaced ones such as `anthropic/claude-sonnet-4`. A model without a display name is listed under its id, and one without a creation date has a null `created_at`. Models are listed for a saved provider only, by its id. The credential is never returned. A USER provider can only be listed by its owner.
|
|
35586
35587
|
* @summary List the models of an LLM provider
|
|
35587
35588
|
* @param {string} llmProviderId LLM Provider ID
|
|
35588
35589
|
* @param {*} [options] Override http request option.
|