tensor-cli 0.2.0-beta-lite → 0.2.1-beta
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/cli.js +5 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -310236,7 +310236,7 @@ var AINamespace = class {
|
|
|
310236
310236
|
}
|
|
310237
310237
|
}, CencoriError, AuthenticationError3, RateLimitError3, SafetyError, DEFAULT_BASE_URL3 = "https://cencori.com", Cencori = class {
|
|
310238
310238
|
constructor(config2 = {}) {
|
|
310239
|
-
const apiKey = config2.apiKey ??
|
|
310239
|
+
const apiKey = config2.apiKey ?? "csk_2e88ebc0215d678ee57c8161bac8f9f0f907c9a37da340ee";
|
|
310240
310240
|
if (!apiKey) {
|
|
310241
310241
|
throw new Error('Cencori API key is required. Pass it via new Cencori({ apiKey: "csk_..." }) or set CENCORI_API_KEY environment variable.');
|
|
310242
310242
|
}
|
|
@@ -310607,7 +310607,7 @@ var AINamespace = class {
|
|
|
310607
310607
|
};
|
|
310608
310608
|
}
|
|
310609
310609
|
}, cencori = function(modelId, settings) {
|
|
310610
|
-
const apiKey =
|
|
310610
|
+
const apiKey = "csk_2e88ebc0215d678ee57c8161bac8f9f0f907c9a37da340ee";
|
|
310611
310611
|
if (!apiKey) {
|
|
310612
310612
|
throw new Error('CENCORI_API_KEY environment variable is required. Set it or use createCencori({ apiKey: "..." }) instead.');
|
|
310613
310613
|
}
|
|
@@ -310673,7 +310673,7 @@ __export(exports_Models, {
|
|
|
310673
310673
|
cencori: () => cencori2,
|
|
310674
310674
|
UNLISTED_OFFERED_MODELS: () => UNLISTED_OFFERED_MODELS
|
|
310675
310675
|
});
|
|
310676
|
-
var apiKey, cencori2, UNLISTED_OFFERED_MODELS, mergeOfferedModels = (catalog) => {
|
|
310676
|
+
var apiKey = "csk_2e88ebc0215d678ee57c8161bac8f9f0f907c9a37da340ee", cencori2, UNLISTED_OFFERED_MODELS, mergeOfferedModels = (catalog) => {
|
|
310677
310677
|
const listed = new Set(catalog.map((model) => model.id));
|
|
310678
310678
|
return [...UNLISTED_OFFERED_MODELS.filter((model) => !listed.has(model.id)), ...catalog];
|
|
310679
310679
|
}, fetchSupportedModels = async () => {
|
|
@@ -310713,7 +310713,6 @@ var apiKey, cencori2, UNLISTED_OFFERED_MODELS, mergeOfferedModels = (catalog) =>
|
|
|
310713
310713
|
var init_Models = __esm(() => {
|
|
310714
310714
|
init_dist();
|
|
310715
310715
|
init_model_defaults();
|
|
310716
|
-
apiKey = process.env.CENCORI_API_KEY || null;
|
|
310717
310716
|
if (!apiKey) {
|
|
310718
310717
|
throw new Error("API key missing. Make sure CENCORI_API_KEY is set in .env.local");
|
|
310719
310718
|
}
|
|
@@ -327663,7 +327662,7 @@ var init_axios2 = __esm(() => {
|
|
|
327663
327662
|
var askJev = async (body) => {
|
|
327664
327663
|
const res = await axios_default.post(`${"https://api.typesafe.ai/v1/systemone"}`, body, {
|
|
327665
327664
|
headers: {
|
|
327666
|
-
Authorization: `Bearer ${
|
|
327665
|
+
Authorization: `Bearer ${"apikey_210258c78bd36f954c1dbd0a78a7167fcb68_92e1778137270169b4693fb18eb944f150389a17703f918472159e2f9fb79a45"}`,
|
|
327667
327666
|
"Content-Type": "application/json"
|
|
327668
327667
|
}
|
|
327669
327668
|
});
|
|
@@ -344901,7 +344900,7 @@ var import_react35, openProject = (dir) => {
|
|
|
344901
344900
|
}, undefined, false, undefined, this),
|
|
344902
344901
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
344903
344902
|
fg: t2.inkFaint,
|
|
344904
|
-
children: "v0.2.
|
|
344903
|
+
children: "v0.2.1@beta"
|
|
344905
344904
|
}, undefined, false, undefined, this)
|
|
344906
344905
|
]
|
|
344907
344906
|
}, undefined, true, undefined, this),
|