fix: correct indentation of last_err in DeepSeekBrain.choose_action() (#97)

`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 Agent <claude-agent@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
authored and GitHub committed 2026-03-23 20:01:11 -04:00
1 parent 62463dfa4a
commit 56e5bff496
1 file changed
+1 -1
+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)