@prestyj/ai 5.22.2 → 5.23.0
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -260,7 +260,7 @@ function finaliseBySource(source, message, requestId, hint) {
|
|
|
260
260
|
headline: message,
|
|
261
261
|
source,
|
|
262
262
|
message: "",
|
|
263
|
-
guidance: hint ?? "Only Kimi, Gemini, MiniMax, and MiMo-V2.
|
|
263
|
+
guidance: hint ?? "Only Kimi, Gemini, MiniMax, and MiMo-V2.6 can analyze video. Switch to one of those via the model selector.",
|
|
264
264
|
...requestId ? { requestId } : {}
|
|
265
265
|
};
|
|
266
266
|
case "ezcoder":
|
|
@@ -3870,7 +3870,7 @@ providerRegistry.register("xiaomi", {
|
|
|
3870
3870
|
const TOKEN_PLAN_URL = "https://token-plan-sgp.xiaomimimo.com/v1";
|
|
3871
3871
|
const PLATFORM_URL = "https://api.xiaomimimo.com/v1";
|
|
3872
3872
|
let baseUrl;
|
|
3873
|
-
if (options.model
|
|
3873
|
+
if (options.model.endsWith("-ultraspeed")) {
|
|
3874
3874
|
baseUrl = options.baseUrl && options.baseUrl !== TOKEN_PLAN_URL ? options.baseUrl : PLATFORM_URL;
|
|
3875
3875
|
} else {
|
|
3876
3876
|
baseUrl = options.baseUrl ?? TOKEN_PLAN_URL;
|