Compare commits

...
Author SHA1 Message Date
Claude AgentandClaude Opus 4.6 faf33f488f fix: correct indentation of last_err in DeepSeekBrain.choose_action()
`last_err = None` was at module-level indentation (4 spaces) instead of
method-body indentation (8 spaces), causing an IndentationError on import.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 23:53:51 +00:00
+1 -1
View File
@@ -590,7 +590,7 @@ class DeepSeekBrain:
if not self._connected:
return self._fallback_action(snapshot, t_start, "not_connected")
last_err = None
last_err = None
for attempt in range(1, self.config.max_retries + 1):
try:
result = self._call_llm(snapshot)