@minded-ai/mindedjs 1.0.0-ec2-beta-176 → 1.0.0-ec2-beta-178
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.
|
@@ -211,11 +211,15 @@ class LogsCapture:
|
|
|
211
211
|
print(f"model_output")
|
|
212
212
|
if hasattr(model_output, 'current_state'):
|
|
213
213
|
print(f"model_output.current_state")
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
if model_output.current_state.thinking:
|
|
215
|
+
self.log_entries.append('💡 Thinking: ' + model_output.current_state.thinking)
|
|
216
|
+
if model_output.current_state.memory:
|
|
217
|
+
self.log_entries.append('🧠 Memory: ' + model_output.current_state.memory)
|
|
218
|
+
if model_output.current_state.next_goal:
|
|
219
|
+
self.log_entries.append('🎯 Next goal: ' + model_output.current_state.next_goal)
|
|
220
|
+
print("Finished adding log entries")
|
|
217
221
|
except Exception as e:
|
|
218
|
-
logger.
|
|
222
|
+
logger.warning(f"Could not extract model outputs: {e}")
|
|
219
223
|
|
|
220
224
|
print(f"self.log_entries count: {len(self.log_entries)}")
|
|
221
225
|
|
package/package.json
CHANGED
|
@@ -211,11 +211,15 @@ class LogsCapture:
|
|
|
211
211
|
print(f"model_output")
|
|
212
212
|
if hasattr(model_output, 'current_state'):
|
|
213
213
|
print(f"model_output.current_state")
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
if model_output.current_state.thinking:
|
|
215
|
+
self.log_entries.append('💡 Thinking: ' + model_output.current_state.thinking)
|
|
216
|
+
if model_output.current_state.memory:
|
|
217
|
+
self.log_entries.append('🧠 Memory: ' + model_output.current_state.memory)
|
|
218
|
+
if model_output.current_state.next_goal:
|
|
219
|
+
self.log_entries.append('🎯 Next goal: ' + model_output.current_state.next_goal)
|
|
220
|
+
print("Finished adding log entries")
|
|
217
221
|
except Exception as e:
|
|
218
|
-
logger.
|
|
222
|
+
logger.warning(f"Could not extract model outputs: {e}")
|
|
219
223
|
|
|
220
224
|
print(f"self.log_entries count: {len(self.log_entries)}")
|
|
221
225
|
|