mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-24 09:38:25 +00:00
chore: update chat input hint
This commit is contained in:
parent
a14ced458c
commit
d52a04a9e3
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class ChatInputBloc extends Bloc<ChatInputEvent, ChatInputState> {
|
|||
);
|
||||
},
|
||||
updateState: (aiState) {
|
||||
if (aiState.enabled) {
|
||||
if (aiState.pluginState.state == RunningStatePB.Running) {
|
||||
emit(const ChatInputState(aiType: _LocalAI()));
|
||||
} else {
|
||||
emit(const ChatInputState(aiType: _AppFlowyAI()));
|
||||
|
|
|
|||
Loading…
Reference in a new issue