mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 02:56:39 +08:00
Compare commits
5 Commits
3ec8f03a8d
...
d33a4a5fc4
Author | SHA1 | Date | |
---|---|---|---|
|
d33a4a5fc4 | ||
|
d958441d7f | ||
|
1600b96454 | ||
|
47047a60b2 | ||
|
d5c86ce9ab |
@ -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 = [
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user