tensor-cli 0.1.2-beta-lite → 0.1.3-beta-lite
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.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -343092,7 +343092,7 @@ Do not include JSON, schema, or XML tool-call syntax in this response.`
|
|
|
343092
343092
|
cencoriClients = new Map;
|
|
343093
343093
|
cencoriFor(apiKey2) {
|
|
343094
343094
|
if (!apiKey2)
|
|
343095
|
-
return
|
|
343095
|
+
return;
|
|
343096
343096
|
let client2 = this.cencoriClients.get(apiKey2);
|
|
343097
343097
|
if (!client2) {
|
|
343098
343098
|
client2 = new Cencori({ apiKey: apiKey2 });
|
|
@@ -343189,6 +343189,10 @@ Do not include JSON, schema, or XML tool-call syntax in this response.`
|
|
|
343189
343189
|
break;
|
|
343190
343190
|
case "CENCORI": {
|
|
343191
343191
|
const client2 = this.cencoriFor(apiKey2);
|
|
343192
|
+
if (!client2) {
|
|
343193
|
+
yield "Please link your cencori api key to use this model";
|
|
343194
|
+
break;
|
|
343195
|
+
}
|
|
343192
343196
|
const stream4 = client2.ai.chatStream({
|
|
343193
343197
|
model: modelId,
|
|
343194
343198
|
messages,
|
|
@@ -344439,7 +344443,7 @@ var Header = () => {
|
|
|
344439
344443
|
}, undefined, false, undefined, this),
|
|
344440
344444
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
344441
344445
|
fg: t2.inkFaint,
|
|
344442
|
-
children: "v0.1.
|
|
344446
|
+
children: "v0.1.3@beta-lite"
|
|
344443
344447
|
}, undefined, false, undefined, this)
|
|
344444
344448
|
]
|
|
344445
344449
|
}, undefined, true, undefined, this),
|