production: reminder cron, dashboard overhaul, shadcn components, setup wizard
- /api/cron/reminders: processes pending reminders every 15min, sends WhatsApp with email fallback - /api/cron/overdue: marks overdue pledges daily (7d deferred, 14d immediate) - /api/pledges: GET handler with filtering, search, pagination, sort by dueDate - Dashboard overview: stats, collection progress bar, needs attention, upcoming payments - Dashboard pledges: proper table with status tabs, search, actions, pagination - New shadcn components: Table, Tabs, DropdownMenu, Progress - Setup wizard: 4-step onboarding (org → bank → event → QR code) - Settings API: PUT handler for org create/update - Org resolver: single-tenant fallback to first org - Cron jobs installed: reminders every 15min, overdue check at 6am - Auto-generates installment dates when not provided - HOSTNAME=0.0.0.0 in compose for multi-network binding
This commit is contained in:
BIN
data/agents.db
Normal file
BIN
data/agents.db
Normal file
Binary file not shown.
BIN
data/agents.db-shm
Normal file
BIN
data/agents.db-shm
Normal file
Binary file not shown.
BIN
data/agents.db-wal
Normal file
BIN
data/agents.db-wal
Normal file
Binary file not shown.
54
data/bot.log
Normal file
54
data/bot.log
Normal file
@@ -0,0 +1,54 @@
|
||||
🤖 Telegram Agent Orchestrator starting...
|
||||
Polling for updates...
|
||||
The system cannot find the path specified.
|
||||
The system cannot find the path specified.
|
||||
[agent 1] error: 50 | }
|
||||
51 | if (status === 422) {
|
||||
52 | return new UnprocessableEntityError(status, error, message, headers);
|
||||
53 | }
|
||||
54 | if (status === 429) {
|
||||
55 | return new RateLimitError(status, error, message, headers);
|
||||
^
|
||||
error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your organization's rate limit of 10,000 input tokens per minute (org: 4362d07d-8082-4159-b447-7c9f0172030e, model: claude-sonnet-4-20250514). For details, refer to: https://docs.claude.com/en/api/rate-limits. You can see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase."},"request_id":"req_011CYeuG3V1tiXgYoBie69XF"}
|
||||
status: 429,
|
||||
headers: Headers {
|
||||
"date": "Mon, 02 Mar 2026 20:41:30 GMT",
|
||||
"content-type": "application/json",
|
||||
"transfer-encoding": "chunked",
|
||||
"connection": "keep-alive",
|
||||
"strict-transport-security": "max-age=31536000; includeSubDomains; preload",
|
||||
"content-encoding": "gzip",
|
||||
"vary": "Accept-Encoding",
|
||||
"content-security-policy": "default-src 'none'; frame-ancestors 'none'",
|
||||
"x-should-retry": "true",
|
||||
"anthropic-ratelimit-input-tokens-limit": "10000",
|
||||
"anthropic-ratelimit-input-tokens-remaining": "0",
|
||||
"anthropic-ratelimit-input-tokens-reset": "2026-03-02T20:42:31Z",
|
||||
"anthropic-ratelimit-output-tokens-limit": "4000",
|
||||
"anthropic-ratelimit-output-tokens-remaining": "4000",
|
||||
"anthropic-ratelimit-output-tokens-reset": "2026-03-02T20:41:30Z",
|
||||
"anthropic-ratelimit-requests-limit": "5",
|
||||
"anthropic-ratelimit-requests-remaining": "0",
|
||||
"anthropic-ratelimit-requests-reset": "2026-03-02T20:42:28Z",
|
||||
"retry-after": "11",
|
||||
"anthropic-ratelimit-tokens-limit": "14000",
|
||||
"anthropic-ratelimit-tokens-remaining": "4000",
|
||||
"anthropic-ratelimit-tokens-reset": "2026-03-02T20:41:30Z",
|
||||
"request-id": "req_011CYeuG3V1tiXgYoBie69XF",
|
||||
"anthropic-organization-id": "4362d07d-8082-4159-b447-7c9f0172030e",
|
||||
"server": "cloudflare",
|
||||
"x-envoy-upstream-service-time": "1023",
|
||||
"cf-cache-status": "DYNAMIC",
|
||||
"x-robots-tag": "none",
|
||||
"cf-ray": "9d6338f76a681ec5-KUL",
|
||||
},
|
||||
requestID: "req_011CYeuG3V1tiXgYoBie69XF",
|
||||
error: {
|
||||
type: "error",
|
||||
error: [Object ...],
|
||||
request_id: "req_011CYeuG3V1tiXgYoBie69XF",
|
||||
},
|
||||
|
||||
at generate (C:\Users\uldvs\OneDrive\Desktop\work\pi-agent-improved-main\node_modules\@anthropic-ai\sdk\core\error.mjs:55:20)
|
||||
at makeRequest (C:\Users\uldvs\OneDrive\Desktop\work\pi-agent-improved-main\node_modules\@anthropic-ai\sdk\client.mjs:309:30)
|
||||
|
||||
Reference in New Issue
Block a user