mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
Adds the `buyCreditsURL` prop to the `CreditLimitError` component where the value is returned by the server added in https://github.com/cline/core-platform/pull/444. This allows users to navigate directly to the Cline credits purchase page directly to the url sent by the server when they encounter a credit limit error. The `buyCreditsURL` prop is now used in the `CreditLimitError` component to dynamically set the `href` attribute of the VSCodeButtonLink, ensuring users are directed to the correct page for purchasing more credits. The default value is set to use the user account one.