colana 1.0.0-beta.73 → 1.0.0-beta.74
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/package.json +1 -1
- package/public/app.js +6 -0
- package/server/preflight.js +2 -2
package/package.json
CHANGED
package/public/app.js
CHANGED
|
@@ -869,6 +869,12 @@ async function launchPersonalAgent() {
|
|
|
869
869
|
task: 'Personal Assistant',
|
|
870
870
|
mode: 'pty',
|
|
871
871
|
}, { repair: err.code === 'BROKEN_INSTALL' });
|
|
872
|
+
} else if (err.code === 'GATEWAY_AUTH_MISSING') {
|
|
873
|
+
showToast(err.message || 'The Personal Agent needs an API key. Open Settings to add one.', 'warning', 8000);
|
|
874
|
+
openSettingsModal().then(() => {
|
|
875
|
+
const el = document.getElementById('settings-openclaw-model');
|
|
876
|
+
if (el) el.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
|
877
|
+
});
|
|
872
878
|
} else {
|
|
873
879
|
showToast('Failed to start personal agent: ' + (err.message || err), 'error');
|
|
874
880
|
}
|
package/server/preflight.js
CHANGED
|
@@ -226,8 +226,8 @@ function checkOpenClawConfig() {
|
|
|
226
226
|
ok: false,
|
|
227
227
|
code: 'GATEWAY_AUTH_MISSING',
|
|
228
228
|
httpStatus: 400,
|
|
229
|
-
message: '
|
|
230
|
-
fix: '
|
|
229
|
+
message: 'The Personal Agent needs an API key to call AI models. Subscription auth (Claude, Gemini) doesn\'t carry over — add an Anthropic or OpenAI API key in Settings.',
|
|
230
|
+
fix: 'Open Settings > Personal AI Agents and enter an API key.',
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
|