diff --git a/backend/common/core/config.py b/backend/common/core/config.py index 1d1a6bfe..f32dad35 100644 --- a/backend/common/core/config.py +++ b/backend/common/core/config.py @@ -65,6 +65,7 @@ class Settings(BaseSettings): SQL_DEBUG: bool = False UPLOAD_DIR: str = "/opt/sqlbot/data/file" + SQLBOT_KEY_EXPIRED: int = 100 # License key expiration timestamp, 0 means no expiration @computed_field # type: ignore[prop-decorator] @property diff --git a/backend/pyproject.toml b/backend/pyproject.toml index bbdf7b9d..0b59f29e 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -36,7 +36,7 @@ dependencies = [ "pyyaml (>=6.0.2,<7.0.0)", "fastapi-mcp (>=0.3.4,<0.4.0)", "tabulate>=0.9.0", - "sqlbot-xpack==0.0.3.16", + "sqlbot-xpack>=0.0.3.18", "fastapi-cache2>=0.2.2", "sqlparse>=0.5.3", "redis>=6.2.0",