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:
1739
package-lock.json
generated
1739
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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,
|
||||||
|
|||||||
@@ -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: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user