fleetbo-cockpit-cli 1.0.14 → 1.0.15
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/cli.js +5 -0
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -166,6 +166,11 @@ if (command === 'alex') {
|
|
|
166
166
|
if (typeof aiData === 'string') {
|
|
167
167
|
try { aiData = JSON.parse(aiData); } catch (_) {}
|
|
168
168
|
}
|
|
169
|
+
// --- DEBUG TEMPORAIRE (à supprimer après) ---
|
|
170
|
+
console.log('[DEBUG] typeof aiData:', typeof aiData);
|
|
171
|
+
console.log('[DEBUG] typeof message:', typeof aiData?.message);
|
|
172
|
+
console.log('[DEBUG] message preview:', String(aiData?.message || aiData).substring(0, 100));
|
|
173
|
+
// --- FIN DEBUG ---
|
|
169
174
|
process.stdout.write('\r' + ' '.repeat(50) + '\r');
|
|
170
175
|
|
|
171
176
|
if (aiData.status === 'quota_exceeded') {
|