mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
fix(core): ai history of new users is always loading, enable online search by default (#11741)
Close [AI-69](https://linear.app/affine-design/issue/AI-69).
This commit is contained in:
@@ -235,7 +235,10 @@ export class ChatPanelMessages extends WithDisposable(ShadowlessElement) {
|
||||
@scroll=${() => this._debouncedOnScroll()}
|
||||
>
|
||||
${filteredItems.length === 0
|
||||
? html`<div class="messages-placeholder">
|
||||
? html`<div
|
||||
class="messages-placeholder"
|
||||
data-testid="chat-panel-messages-placeholder"
|
||||
>
|
||||
${AffineIcon(
|
||||
isLoading
|
||||
? 'var(--affine-icon-secondary)'
|
||||
|
||||
@@ -400,7 +400,7 @@ export class ChatPanel extends SignalWatcher(
|
||||
.createSessionId=${this._createSessionId}
|
||||
.updateContext=${this.updateContext}
|
||||
.host=${this.host}
|
||||
.isLoading=${this.isLoading || !this._isInitialized}
|
||||
.isLoading=${this.isLoading}
|
||||
.previewSpecBuilder=${this.previewSpecBuilder}
|
||||
></chat-panel-messages>
|
||||
<ai-chat-composer
|
||||
|
||||
Reference in New Issue
Block a user