actorctl 0.3.0-rc.17 → 0.3.0-rc.19
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/actorctl.js +1 -1
- package/dist/worker/models.ts +2 -2
- package/package.json +2 -2
package/dist/actorctl.js
CHANGED
|
@@ -27333,7 +27333,7 @@ var actorctl = make30("actorctl").pipe(withDescription4("Deploy actors, run thre
|
|
|
27333
27333
|
make30("secrets").pipe(withSubcommands([secretsPut, secretsDelete]))
|
|
27334
27334
|
]));
|
|
27335
27335
|
// package.json
|
|
27336
|
-
var version2 = "0.3.0-rc.
|
|
27336
|
+
var version2 = "0.3.0-rc.19";
|
|
27337
27337
|
|
|
27338
27338
|
// src/main.ts
|
|
27339
27339
|
run5(actorctl, { version: version2 }).pipe(provide4(mergeAll2(layer10, layer12)), runMain2);
|
package/dist/worker/models.ts
CHANGED
|
@@ -116,8 +116,8 @@ const invalid = (method: string, description: string) => AiError.make({ module:
|
|
|
116
116
|
export const validateGateway = (model: string, gateway: ModelOptions["gateway"]): string | undefined => {
|
|
117
117
|
if (gateway === undefined) return undefined
|
|
118
118
|
if (!gateway || typeof gateway !== "object" || Array.isArray(gateway)) return "gateway must contain order and/or only arrays."
|
|
119
|
-
const hosts = ["openai", "azure", "bedrock", "anthropic"]
|
|
120
|
-
const family = model.startsWith("openai/") ? ["openai", "azure"] : model.startsWith("anthropic/") ? ["bedrock", "anthropic"] : undefined
|
|
119
|
+
const hosts = ["openai", "azure", "bedrock", "anthropic", "baseten", "cheaperinference", "google"]
|
|
120
|
+
const family = model.startsWith("openai/") ? ["openai", "azure"] : model.startsWith("anthropic/") ? ["bedrock", "anthropic"] : model.startsWith("google/") ? ["cheaperinference", "google"] : undefined
|
|
121
121
|
for (const list of [gateway.order, gateway.only]) {
|
|
122
122
|
if (list === undefined) continue
|
|
123
123
|
if (!Array.isArray(list)) return "gateway.order and gateway.only must be arrays of provider slugs."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "actorctl",
|
|
3
|
-
"version": "0.3.0-rc.
|
|
3
|
+
"version": "0.3.0-rc.19",
|
|
4
4
|
"description": "Deploy actors, run threads, and read events on Tardigrade Cloud.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"tardie": "*"
|
|
27
27
|
},
|
|
28
28
|
"tardigrade": {
|
|
29
|
-
"sourceTree": "
|
|
29
|
+
"sourceTree": "b22c1d4b29625dd6ad62694cbd63957fc2ed921b"
|
|
30
30
|
}
|
|
31
31
|
}
|