Compare commits

...

5 Commits

Author SHA1 Message Date
JU-NINE NGU CHO
d33a4a5fc4
Merge d5c86ce9ab into d958441d7f 2025-07-17 10:52:57 +01:00
RiverRay
d958441d7f
Merge pull request #6570 from zhang-zhonggui/main
Some checks failed
Run Tests / test (push) Has been cancelled
Add gemini-2.5-pro tag, you can use free gemini-2.5-pro
2025-07-17 11:30:34 +08:00
zzg
1600b96454
Update constant.ts
添加gemini-2.5-pro,可以免费使用Google Gemini
2025-07-17 08:07:15 +08:00
zzg
47047a60b2
Update constant.ts
添加免费的Gemini 2.5 Pro进行使用
2025-07-17 07:48:12 +08:00
chojuninengu
d5c86ce9ab
Enhance Webpack configuration by adding fallbacks for Node.js core modules and integrating ProvidePlugin for Buffer and process support. 2025-04-29 10:56:55 +01:00
2 changed files with 17 additions and 0 deletions

View File

@ -555,6 +555,7 @@ const googleModels = [
"gemini-2.0-pro-exp",
"gemini-2.0-pro-exp-02-05",
"gemini-2.5-pro-preview-06-05",
"gemini-2.5-pro"
];
const anthropicModels = [

View File

@ -21,9 +21,25 @@ const nextConfig = {
}
config.resolve.fallback = {
...config.resolve.fallback,
child_process: false,
process: false,
path: false,
fs: false,
os: false,
util: false,
stream: false,
buffer: require.resolve('buffer/'),
events: require.resolve('events/'),
};
config.plugins.push(
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
process: 'process/browser',
}),
);
return config;
},
output: mode,