Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
98e3c05ef7
@ -187,6 +187,7 @@ async fn generate_and_update_entry(
|
|||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
|
if !summary.trim().is_empty() {
|
||||||
let updated_content = format!(
|
let updated_content = format!(
|
||||||
"<pre style=\"white-space: pre-wrap;\"><code>\n💡AI 摘要:\n{}</code></pre><hr><br />{}",
|
"<pre style=\"white-space: pre-wrap;\"><code>\n💡AI 摘要:\n{}</code></pre><hr><br />{}",
|
||||||
summary, content
|
summary, content
|
||||||
@ -202,6 +203,7 @@ async fn generate_and_update_entry(
|
|||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user