Synaplan
开源 AI 软件平台,面向企业:自托管 AI 代理,符合 GDPR 的聊天机器人小部件,RAG 知识库,WhatsApp 与 Outlook AI,MCP,多模型路由。支持 Docker、Kubernetes 或在 Germ 托管。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证A high-performance, async-based headless email client that is Nylas-API compatible.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A high-performance, async-based headless email client that is Nylas-API compatible.
Set REDIS_URL on both the API and Nolas workers to the same Redis instance
(default: redis://redis:6379/0; rediss:// supports TLS).
REDIS_SOCKET_TIMEOUT_SECONDS defaults to 3.
Microsoft Graph requests share a per-grant limit across Nolas replicas.
Different grants have independent capacity, even when they use the same mailbox.
The default MICROSOFT_CONCURRENCY_LIMIT=4 allows four active requests;
MICROSOFT_WORKER_CONCURRENCY_LIMIT=3 reserves one slot for API traffic. Waiting
API requests take priority over background jobs, with FIFO ordering within each
priority. The worker limit must be lower than the total limit (zero pauses workers).
The total limit cannot exceed 4. Read-update batch operations execute sequentially
within each batch so each batch consumes only one concurrency slot.
MICROSOFT_CONCURRENCY_LEASE_SECONDS=30 controls crash recovery; active requests
renew their leases. MICROSOFT_CONCURRENCY_ACQUIRE_TIMEOUT_SECONDS=30 bounds
waiting for capacity, returning a provider 429 on timeout. If Redis is unavailable,
requests bypass the limiter and log a warning. Renewal failures or lost leases
also allow active requests to finish. The concurrency cap is temporarily
unenforced during these failures, matching email-service. Failed cleanup is
recovered through lease/waiter expiration. Google and IMAP requests are unaffected.
Nolas uses separate keys from email-service to avoid nesting the same semaphore when email-service calls Nolas. The two services do not share a combined limit.
Run the limiter's integration checks against a test Redis instance with
REDIS_URL=redis://localhost:6379/0 uv run pytest tests/app/controllers/providers/microsoft/test_concurrency_limiter.py.
Set SLACK_BOT_TOKEN (the shared Lev bot) and SLACK_RENEWAL_ALERT_CHANNEL_ID
on Nolas workers to enable renewal alerts. Add the bot to private channels manually.
Without both settings, alerts are disabled.
An alert fires when five subscription renewal jobs exhaust their retries within
thirty minutes. Retryable failures and successful Microsoft subscription recreation
do not count. Counts and cooldowns are shared across replicas using REDIS_URL,
with separate keys per environment. Messages include the latest job and account
IDs; detailed errors remain in worker logs and jobs.last_error.
Optional settings (all positive integers):
SLACK_RENEWAL_FAILURE_THRESHOLD (default 5)SLACK_RENEWAL_FAILURE_WINDOW_SECONDS (default 1800)SLACK_RENEWAL_ALERT_COOLDOWN_SECONDS (default 600)Slack/Redis alerting failures are logged without interrupting job processing. A failed Slack send retains the cooldown; a subsequent exhausted renewal can trigger another alert after it expires. Alert delivery is best effort.
git clone [email protected]:gvso/nolas.git
cd nolas
uv sync
createdb nolas
View all accounts in the database:
python manage.py --mode list
Production (Cluster Mode):
python manage.py --mode cluster --workers 4
Development (Single Worker):
python manage.py --mode single
python server.py