mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Add ZH_TW README & translations.
This commit is contained in:
parent
61a7ecbf12
commit
d2099074a7
6 changed files with 284 additions and 18 deletions
|
@ -12,6 +12,7 @@ export default defineEventHandler(async (event) => {
|
|||
const buildURL = protocol + "://" + host + "/api/news/get/lt/" + slug;
|
||||
const data = await fetch(buildURL);
|
||||
const fetchNewsArticle = await data.json();
|
||||
console.log(locale);
|
||||
const chatCompletion = await groq.chat.completions.create({
|
||||
messages: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue