fix(fmt): whitespace
Some checks failed
CI / Format (push) Failing after 6m12s
CI / Clippy (push) Successful in 2m16s
CI / Security Audit (push) Successful in 1m31s
CI / Tests (push) Has been skipped
CI / Deploy (push) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
CI / Format (pull_request) Has been cancelled
CI / Security Audit (pull_request) Has been cancelled
CI / Tests (pull_request) Has been cancelled
CI / Deploy (pull_request) Has been cancelled
Some checks failed
CI / Format (push) Failing after 6m12s
CI / Clippy (push) Successful in 2m16s
CI / Security Audit (push) Successful in 1m31s
CI / Tests (push) Has been skipped
CI / Deploy (push) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
CI / Format (pull_request) Has been cancelled
CI / Security Audit (pull_request) Has been cancelled
CI / Tests (pull_request) Has been cancelled
CI / Deploy (pull_request) Has been cancelled
This commit is contained in:
@@ -329,7 +329,7 @@ pub fn DashboardPage() -> Element {
|
||||
.set(
|
||||
format!(
|
||||
"Article content:\n{snippet}\n\n\
|
||||
AI Summary:\n{text}",
|
||||
AI Summary:\n{text}",
|
||||
),
|
||||
);
|
||||
summary.set(Some(text));
|
||||
@@ -385,9 +385,9 @@ pub fn DashboardPage() -> Element {
|
||||
role: "system".into(),
|
||||
content: format!(
|
||||
"You are a helpful assistant. The user is reading \
|
||||
a news article. Use the following context to answer \
|
||||
their questions. Do NOT comment on the source, \
|
||||
dates, URLs, or formatting.\n\n{ctx}",
|
||||
a news article. Use the following context to answer \
|
||||
their questions. Do NOT comment on the source, \
|
||||
dates, URLs, or formatting.\n\n{ctx}",
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user