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:
Will Chen
2025-09-09 00:17:55 -07:00
committed by GitHub
parent f8ec10ec6b
commit d21497659b
3 changed files with 799 additions and 946 deletions

1739
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
import { ipcMain } from "electron"; import { ipcMain } from "electron";
import { streamText } from "ai"; import { streamText, Tool } from "ai";
import { readSettings } from "../../main/settings"; import { readSettings } from "../../main/settings";
import log from "electron-log"; import log from "electron-log";
@@ -63,7 +63,7 @@ export function registerHelpBotHandlers() {
tools: { tools: {
web_search_preview: openai.tools.webSearchPreview({ web_search_preview: openai.tools.webSearchPreview({
searchContextSize: "high", searchContextSize: "high",
}), }) as Tool,
}, },
messages: updatedHistory as any, messages: updatedHistory as any,
maxRetries: 1, maxRetries: 1,

View File

@@ -281,7 +281,7 @@ export const MODEL_OPTIONS: Record<string, ModelOption[]> = {
contextWindow: 131_072, contextWindow: 131_072,
temperature: 0, temperature: 0,
dollarSigns: 4, dollarSigns: 4,
}. },
], ],
bedrock: [ bedrock: [
{ {