chore: 版本 v1.3.0(趋势人话解读+今日知识卡);采集解读 token 上限提升
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "宇之然AI维度",
|
"name": "宇之然AI维度",
|
||||||
"appid": "wxdad62baf4ccd09e3",
|
"appid": "wxdad62baf4ccd09e3",
|
||||||
"versionName": "1.2.0",
|
"versionName": "1.3.0",
|
||||||
"versionCode": "100",
|
"versionCode": "100",
|
||||||
"description": "AI 知识探索社区 — 从5个维度系统理解人工智能",
|
"description": "AI 知识探索社区 — 从5个维度系统理解人工智能",
|
||||||
"uni-app": {
|
"uni-app": {
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ async function explainItems(items) {
|
|||||||
|
|
||||||
资讯标题:${item.title}
|
资讯标题:${item.title}
|
||||||
${item.summary ? '摘要:' + String(item.summary).slice(0, 200) : ''}`;
|
${item.summary ? '摘要:' + String(item.summary).slice(0, 200) : ''}`;
|
||||||
const out = await callAI([{ role: 'user', content: prompt }], 300);
|
const out = await callAI([{ role: 'user', content: prompt }], 900);
|
||||||
const m = out.match(/\{[\s\S]*?\}/);
|
const m = out.match(/\{[\s\S]*?\}/);
|
||||||
if (m) {
|
if (m) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user