fix(core): copilot client should throw right ai error (#9958)

[BS-2488](https://linear.app/affine-design/issue/BS-2488/copilot-client-需要正确返回错误类型)
This commit is contained in:
donteatfriedrice committed 2025-02-05 12:46:13 +00:00
1 parent 4ed03c9f0e
commit 9cae1c3a28
3 files changed
+94 -61

No files matched your search

@@ -155,7 +155,7 @@ export class AIPanelError extends WithDisposable(LitElement) {
<span>Cancel</span>
</div>
<div @click=${this.config.login} class="action-button primary">
<span>login</span>
<span>Login</span>
</div>
</div>`,
],