@rowan-agent/agent 0.10.0 → 0.10.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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3447,9 +3447,9 @@ var THINKING_LEVELS = [
|
|
|
3447
3447
|
];
|
|
3448
3448
|
function thinkingLevelFromMetadata(metadata) {
|
|
3449
3449
|
const record = isRecord3(metadata) ? metadata : void 0;
|
|
3450
|
-
const
|
|
3451
|
-
if (!isRecord3(
|
|
3452
|
-
const level =
|
|
3450
|
+
const mori = record?.mori;
|
|
3451
|
+
if (!isRecord3(mori)) return void 0;
|
|
3452
|
+
const level = mori.thinkingLevel;
|
|
3453
3453
|
return typeof level === "string" && THINKING_LEVELS.includes(level) ? level : void 0;
|
|
3454
3454
|
}
|
|
3455
3455
|
function thinkingLevelFromMessages(messages) {
|