JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
支持mariadb
chen hui9f8488b269ee
diff --git a/jiuwenswarm/channels/web/history_store/store.py b/jiuwenswarm/channels/web/history_store/store.pyindex 24fd9d1b84..c8507dab41 100644--- a/jiuwenswarm/channels/web/history_store/store.py+++ b/jiuwenswarm/channels/web/history_store/store.py@@ -60,7 +60,7 @@ class ChatHistoryStore:return cls(memory=True)if normalized in ("postgresql", "postgres", "pg"):return cls(settings=WebHistoryDbSettings.from_env(), db_type="postgresql")- if normalized == "mysql":+ if normalized in ("mysql", "mariadb"):return cls(settings=WebHistoryDbSettings.from_env(), db_type="mysql")logger.warning("[history] 不支持的历史库类型 %r,回退内存(不支持 sqlite)",