Skip to content

Commit 9ecae0a

Browse files
committed
chore: ai templte
1 parent dfc80e6 commit 9ecae0a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

frontend/rust-lib/flowy-ai/src/local_ai/chat/chains/conversation_chain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use tokio_util::either::Either;
3030
use tracing::{error, trace};
3131
use uuid::Uuid;
3232

33-
pub const CAN_NOT_ANSWER_WITH_CONTEXT: &str = "I couldn't find any relevant information in the sources you selected. Please try asking a different question";
33+
pub const CAN_NOT_ANSWER_WITH_CONTEXT: &str = "I couldn't find any relevant information in the sources you selected. Please try asking a different question or remove selected sources";
3434
pub const ANSWER_WITH_SUGGESTED_QUESTION: &str = "I couldn't find any relevant information in the sources you selected. Please try ask following questions";
3535
pub(crate) const DEFAULT_OUTPUT_KEY: &str = "output";
3636
pub(crate) const DEFAULT_RESULT_KEY: &str = "generate_result";

frontend/rust-lib/flowy-error/Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ ollama-rs.workspace = true
3939

4040

4141
[features]
42-
default = ["impl_from_dispatch_error", "impl_from_serde", "impl_from_reqwest", "impl_from_sqlite"]
42+
default = [
43+
"impl_from_dispatch_error",
44+
"impl_from_serde",
45+
"impl_from_reqwest",
46+
"impl_from_sqlite",
47+
]
4348
impl_from_dispatch_error = ["lib-dispatch"]
4449
impl_from_serde = []
4550
impl_from_reqwest = ["reqwest"]

0 commit comments

Comments
 (0)