@t2000/sdk 10.17.0 → 10.17.2
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2086,7 +2086,7 @@ init_errors();
|
|
|
2086
2086
|
|
|
2087
2087
|
// src/inference.ts
|
|
2088
2088
|
init_errors();
|
|
2089
|
-
var DEFAULT_API_BASE = "https://api.
|
|
2089
|
+
var DEFAULT_API_BASE = "https://api.audric.ai/v1";
|
|
2090
2090
|
function envApiKey() {
|
|
2091
2091
|
return typeof process !== "undefined" ? process.env?.T2000_API_KEY : void 0;
|
|
2092
2092
|
}
|
|
@@ -2095,7 +2095,7 @@ function resolveApiKey(apiKey) {
|
|
|
2095
2095
|
if (!key) {
|
|
2096
2096
|
throw new exports.T2000Error(
|
|
2097
2097
|
"INVALID_KEY",
|
|
2098
|
-
"No Private Inference key. Pass `apiKey` or set T2000_API_KEY. Generate one at
|
|
2098
|
+
"No Private Inference key. Pass `apiKey` or set T2000_API_KEY. Generate one at audric.ai (minting requires $5 of credit)."
|
|
2099
2099
|
);
|
|
2100
2100
|
}
|
|
2101
2101
|
return key;
|