@soat/cli 0.20.4 → 0.20.5
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.mjs +17 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { load } from "js-yaml";
|
|
|
13
13
|
import * as os from "node:os";
|
|
14
14
|
|
|
15
15
|
//#region package.json
|
|
16
|
-
var version = "0.20.
|
|
16
|
+
var version = "0.20.5";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -1611,6 +1611,22 @@ var routes = {
|
|
|
1611
1611
|
"in": "query"
|
|
1612
1612
|
}]
|
|
1613
1613
|
},
|
|
1614
|
+
"list-ai-provider-models": {
|
|
1615
|
+
serviceClass: "AIProviders",
|
|
1616
|
+
operationId: "listAiProviderModels",
|
|
1617
|
+
description: "Asks the provider which models it can run, using this provider record's own credentials and configuration, and returns provider-native model ids — the same strings `default_model` and an agent's `model` carry. Which models are reachable is a property of the credential, not of the provider type: a Vertex provider sees only the publisher models its Google Cloud project and location serve, and a Bedrock provider only the foundation models enabled in its region. Reading the list is how a caller avoids pinning a model that fails at generation time. Not every provider type can answer. `azure` lists deployments an operator named rather than models, and `ollama` lists whatever was pulled onto that host, so both return `400 MODEL_LISTING_UNSUPPORTED`.",
|
|
1618
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/ai-providers",
|
|
1619
|
+
httpMethod: "get",
|
|
1620
|
+
pathParams: ["ai_provider_id"],
|
|
1621
|
+
queryParams: [],
|
|
1622
|
+
flags: [{
|
|
1623
|
+
"name": "ai_provider_id",
|
|
1624
|
+
"description": "AI Provider ID",
|
|
1625
|
+
"required": true,
|
|
1626
|
+
"type": "string",
|
|
1627
|
+
"in": "path"
|
|
1628
|
+
}]
|
|
1629
|
+
},
|
|
1614
1630
|
"get-ai-provider-prices": {
|
|
1615
1631
|
serviceClass: "AIProviders",
|
|
1616
1632
|
operationId: "getAiProviderPrices",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@inquirer/input": "^5.1.2",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@ttoss/logger": "^0.8.19",
|
|
9
9
|
"commander": "^15.0.0",
|
|
10
10
|
"js-yaml": "^5.2.1",
|
|
11
|
-
"@soat/sdk": "0.20.
|
|
11
|
+
"@soat/sdk": "0.20.5"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.17",
|