Skip to content

Your lightweight open-source personal agent.

fix: add from __future__ import annotations to fix Python <3.11 compat

Tinke868fb32d2cf
diff --git a/nanobot/agent/skills.py b/nanobot/agent/skills.py
index 9afee82f0..0e1388255 100644
--- a/nanobot/agent/skills.py
+++ b/nanobot/agent/skills.py
@@ -1,5 +1,7 @@
"""Skills loader for agent capabilities."""
+from __future__ import annotations
+
import json
import os
import re
diff --git a/nanobot/utils/helpers.py b/nanobot/utils/helpers.py
index c57c3654e..7e6531a86 100644
--- a/nanobot/utils/helpers.py
+++ b/nanobot/utils/helpers.py
@@ -1,5 +1,7 @@
"""Utility functions for nanobot."""
+from __future__ import annotations
+
import re
from datetime import datetime
from pathlib import Path