@astralform/js 3.1.0 → 3.2.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 +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -556,7 +556,12 @@ var AstralformClient = class {
|
|
|
556
556
|
thinking: m.thinking,
|
|
557
557
|
tools: m.tools,
|
|
558
558
|
vision: m.vision,
|
|
559
|
-
thinkingMode: m.thinking_mode
|
|
559
|
+
thinkingMode: m.thinking_mode,
|
|
560
|
+
// Coerce so the non-optional `supportsEffort: boolean` stays honest even
|
|
561
|
+
// against an older backend that omits `supports_effort` (→ false = safe:
|
|
562
|
+
// the effort control is hidden). Unlike the always-present siblings above,
|
|
563
|
+
// this field can be absent, so it's the one that needs coercion.
|
|
564
|
+
supportsEffort: Boolean(m.supports_effort)
|
|
560
565
|
}));
|
|
561
566
|
}
|
|
562
567
|
async getSkills() {
|