mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: update chat input hint
This commit is contained in:
parent
a14ced458c
commit
d52a04a9e3
@ -52,7 +52,7 @@ class ChatInputBloc extends Bloc<ChatInputEvent, ChatInputState> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
updateState: (aiState) {
|
updateState: (aiState) {
|
||||||
if (aiState.enabled) {
|
if (aiState.pluginState.state == RunningStatePB.Running) {
|
||||||
emit(const ChatInputState(aiType: _LocalAI()));
|
emit(const ChatInputState(aiType: _LocalAI()));
|
||||||
} else {
|
} else {
|
||||||
emit(const ChatInputState(aiType: _AppFlowyAI()));
|
emit(const ChatInputState(aiType: _AppFlowyAI()));
|
||||||
|
Loading…
Reference in New Issue
Block a user