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