mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Updates to the archiving system to **NOT** crash the container every
single time it tries to archive stuff & remove goals before next devlog markdown file.
This commit is contained in:
parent
5445a3d1c0
commit
fce450bc7e
5 changed files with 17 additions and 24 deletions
|
@ -38,7 +38,7 @@ export default defineEventHandler(async (event) => {
|
|||
},
|
||||
{
|
||||
role: "system",
|
||||
content: `You are a news summarizer. You will be given a news article and you will summarize it into a short paragraph. The user's current locale is ${locale || "zh-tw"} please use the correct language as the response.`,
|
||||
content: `You are a news summarizer. You will be given a news article and you will summarize it into a short paragraph. The user's current locale is ${locale.toString()} please use the correct language as the response.`,
|
||||
},
|
||||
],
|
||||
model: "gemma2-9b-it",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue