Unverified 提交 d2149765 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Fix package-lock.json & merges (#1227)

<!-- This is an auto-generated description by cubic. --> ## Summary by cubic Regenerated package-lock.json to fix inconsistencies and align with package.json. This restores reproducible installs locally and in CI. - **Migration** - Run npm ci to install with the updated lockfile. - If install issues persist, delete node_modules and retry. <!-- End of auto-generated description by cubic. -->
上级 f8ec10ec
This source diff could not be displayed because it is too large. You can view the blob instead.
import { ipcMain } from "electron";
import { streamText } from "ai";
import { streamText, Tool } from "ai";
import { readSettings } from "../../main/settings";
import log from "electron-log";
......@@ -63,7 +63,7 @@ export function registerHelpBotHandlers() {
tools: {
web_search_preview: openai.tools.webSearchPreview({
searchContextSize: "high",
}),
}) as Tool,
},
messages: updatedHistory as any,
maxRetries: 1,
......
......@@ -281,7 +281,7 @@ export const MODEL_OPTIONS: Record<string, ModelOption[]> = {
contextWindow: 131_072,
temperature: 0,
dollarSigns: 4,
}.
},
],
bedrock: [
{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论