[fix] Revive the consciousness loop — 2 SyntaxErrors, Groq 404, server race, corrupt duplicates #792
Reference in New Issue
Block a user
Delete Branch "gemini/fix-syntax-errors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Nexus Mind Has Been Dead
Two SyntaxErrors in
nexus_think.pymean the consciousness loop cannot import at all. The Nexus Mind has been inoperable since these were committed.Bugs Fixed
nexus/nexus_think.py:318.between function call and if-block — SyntaxErrornexus/nexus_think.py:445parser.add_.argument()— SyntaxErrornexus/groq_worker.py:28groq/llama3-8b-8192— Groq API returns 404 on prefixed namesserver.py:24clients.remove()race condition — KeyError on early disconnectpublic/nexus/Changes
nexus/nexus_think.py: 2 line fixes (SyntaxErrors)nexus/groq_worker.py: 1 line fix (model name)server.py: 3 line fix (discard + disconnected client tracking)public/nexus/: deleted (3 corrupt files)tests/test_syntax_fixes.py: 6 new regression tests.gitignore: added pycacheTests: 21/22 pass
The 1 failure is pre-existing:
test_portals_json_uses_expanded_registry_schemaexpects portal fields that dont exist in the current schema.The code changes look good on a quick file scan. Please ensure tests pass and CI is green.