fix(brain): re-Modul in agent.py importieren — fehlte fuer safe-name-Mapping

Letzter Fix-Commit nutzt re.sub() in _skill_to_tool und im Dispatcher,
aber re wurde nie oben importiert. Folge: NameError beim ersten chat()
Aufruf nach Restart. Stefan bekam Brain-Error 500.

Trivial-Fix: import re bei den anderen stdlib-Imports.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-30 01:23:58 +02:00
parent 89cafa6251
commit bb3c7957aa
+1
View File
@@ -19,6 +19,7 @@ from __future__ import annotations
import json import json
import logging import logging
import os import os
import re
import urllib.error import urllib.error
import urllib.request import urllib.request
from typing import Optional from typing import Optional