fix(core): add ai 7 day trial hint (#10587)

Fix issue [BS-2739](https://linear.app/affine-design/issue/BS-2739).
This commit is contained in:
akumatus
2025-03-03 15:10:16 +00:00
parent 8e5d7858c4
commit 321247a2fa
2 changed files with 3 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ export class AIErrorWrapper extends SignalWatcher(WithDisposable(LitElement)) {
const PaymentRequiredErrorRenderer = (host: EditorHost) => html`
<ai-error-wrapper
.text=${"You've reached the current usage cap for AFFiNE AI. You can subscribe to AFFiNE AI to continue the AI experience!"}
.text=${"You've reached the current usage cap for AFFiNE AI. You can subscribe to AFFiNE AI(with free 7-day-trial) to continue the AI experience!"}
.actionText=${'Upgrade'}
.onClick=${() => AIProvider.slots.requestUpgradePlan.emit({ host })}
></ai-error-wrapper>

View File

@@ -164,7 +164,8 @@ export class AIPanelError extends WithDisposable(LitElement) {
() =>
html` <div class="error-info">
You've reached the current usage cap for AFFiNE AI. You can
subscribe to AFFiNE AI to continue the AI experience!
subscribe to AFFiNE AI(with free 7-day-trial) to continue the AI
experience!
</div>
<div class="action-button-group">
<div @click=${this.config.cancel} class="action-button">