You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accept optional provider "right" usage summaries in formatting output and use them as left-adjacent text in tiny and classic layouts (format.ts, toast-format-grouped.ts). Add normalization for Synthetic subscription.renewsAt to parse/validate timestamps and ignore malformed values (synthetic.ts). Update tests to cover rendering of right-side summaries, Synthetic date normalization, numeric-field validation, and various Anthropic fallback/error cases; also ensure quota-status shows Synthetic diagnostics without performing a live fetch. README updated to document Synthetic API expectations.
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -538,7 +538,8 @@ For security, provider secrets are read from `SYNTHETIC_API_KEY`, your user/glob
538
538
539
539
- The plugin calls `GET https://api.synthetic.new/v2/quotas`.
540
540
- It reads `subscription.limit`, `subscription.requests`, and `subscription.renewsAt`.
541
-
-`/quota`, toasts, and the sidebar show one Synthetic row with remaining percent plus a compact `used/limit` summary.
541
+
- Synthetic currently expects numeric JSON values for `subscription.limit` and `subscription.requests`; malformed or stringified values are treated as API-shape errors. Invalid `subscription.renewsAt` values are ignored.
542
+
-`/quota`, toasts, and the sidebar show one Synthetic row with remaining percent plus the same compact `used/limit` summary used by other percent-based providers when that row data is available.
542
543
-`/quota_status` shows a `synthetic` section with API-key diagnostics only; it does not do a live Synthetic fetch there.
543
544
- Allowed env templates are limited to `{env:SYNTHETIC_API_KEY}`.
0 commit comments