@hiper2d/ai-agents 0.4.0 → 0.4.1
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 +16 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1273,14 +1273,18 @@ var SupportedAiModels = {
|
|
|
1273
1273
|
// encrypted reasoning items replayed across turns like Grok. 'medium' is pinned as the
|
|
1274
1274
|
// game default: turns are short and every reasoning token bills as output.
|
|
1275
1275
|
// Temperature: Meta documents the model as tuned to its 1.0 default.
|
|
1276
|
-
// Speed
|
|
1276
|
+
// Speed: measured 2026-09-12 at medium effort — 9.6s on a full-context day-2 vote, 4-8s on
|
|
1277
|
+
// short turns (reasoning ≈ 90% of output tokens). That is the untagged middle band by the
|
|
1278
|
+
// grading above; tagged 'slow' anyway by decision so players expect a wait. Price-wise it
|
|
1279
|
+
// is neither cheap nor expensive.
|
|
1277
1280
|
[LLM_CONSTANTS.MUSE_SPARK]: {
|
|
1278
1281
|
displayName: "Muse Spark 1.3",
|
|
1279
1282
|
modelApiName: "muse-spark-1.3",
|
|
1280
1283
|
apiKeyName: API_KEY_CONSTANTS.META,
|
|
1281
1284
|
hasThinking: true,
|
|
1282
1285
|
temperature: 1,
|
|
1283
|
-
reasoningEffort: "medium"
|
|
1286
|
+
reasoningEffort: "medium",
|
|
1287
|
+
tags: ["slow"]
|
|
1284
1288
|
}
|
|
1285
1289
|
};
|
|
1286
1290
|
function createCatalog(overrides = {}) {
|
|
@@ -5022,7 +5026,16 @@ ${schemaDescription}`;
|
|
|
5022
5026
|
try {
|
|
5023
5027
|
const reasoningItems = JSON.parse(msg.metaEncryptedReasoning);
|
|
5024
5028
|
if (Array.isArray(reasoningItems)) {
|
|
5025
|
-
|
|
5029
|
+
for (const item of reasoningItems) {
|
|
5030
|
+
if (item?.encrypted_content) {
|
|
5031
|
+
input.push({
|
|
5032
|
+
type: "reasoning",
|
|
5033
|
+
...item.id ? { id: item.id } : {},
|
|
5034
|
+
summary: Array.isArray(item.summary) ? item.summary : [],
|
|
5035
|
+
encrypted_content: item.encrypted_content
|
|
5036
|
+
});
|
|
5037
|
+
}
|
|
5038
|
+
}
|
|
5026
5039
|
}
|
|
5027
5040
|
} catch {
|
|
5028
5041
|
this.logger(`Failed to parse stored encrypted reasoning, replaying message without it`);
|