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. -->
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
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: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user