Commit Graph
4 Commits
Author SHA1 Message Date
bob 0848565067 fix(providers): sum compound durations in 'try again in' retry hints
OpenAI-style 429 bodies report waits as Go durations such as 'try again in 1m30s'. The parser only read the first component, so the retry slept 60s instead of 90s and spent an attempt on a guaranteed second 429. Sum every h/m/s/ms component while keeping the existing precedence and single-unit formats.
2026-10-03 19:46:51 +08:00
bob b5f539292d fix(cron): reject non-positive every_seconds intervals
A negative every_seconds created a job with no next run and still reported 'Created job', so it silently never fired. every_seconds=0 passed the exactly-one-schedule check but then fell through the truthiness test to the misleading 'either every_seconds, cron_expr, or at is required' error. Declare minimum=1 in the tool schema, check every_seconds explicitly, and have CronService refuse every schedules without a positive every_ms, matching the WebUI parser.
2026-10-03 19:28:39 +08:00
bob a3ef95f725 fix(slack): keep full text of button messages beyond 3000 chars
When buttons are attached, Slack renders the blocks instead of the text field, and the only section block carried text[:3000]. Anything past 3000 characters of the final chunk (up to 39000) was silently dropped. Split the chunk across multiple section blocks that each respect the Block Kit limit.
2026-10-03 18:19:14 +08:00
bob 2d52db2478 fix(telegram): keep link URLs intact when rendering Markdown to HTML
Bold, italic and strikethrough passes ran over generated href attributes, so URLs such as .../__init__.py became .../<b>init</b>.py and Telegram rejected or mis-linked the message. Protect URLs with placeholders until inline formatting is done and escape double quotes inside href.
2026-10-03 18:01:37 +08:00