mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2026-04-27 13:34:25 +08:00
Compare commits
3 Commits
cf7c6f2b9a
...
c6657d3d0c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6657d3d0c | ||
|
|
05e6e4bffb | ||
|
|
fbb66a4a5d |
@@ -231,7 +231,7 @@ export function getHeaders(ignoreHeaders: boolean = false) {
|
||||
|
||||
function getConfig() {
|
||||
const modelConfig = chatStore.currentSession().mask.modelConfig;
|
||||
const isGoogle = modelConfig.providerName == ServiceProvider.Google;
|
||||
const isGoogle = modelConfig.providerName === ServiceProvider.Google;
|
||||
const isAzure = modelConfig.providerName === ServiceProvider.Azure;
|
||||
const isAnthropic = modelConfig.providerName === ServiceProvider.Anthropic;
|
||||
const isBaidu = modelConfig.providerName == ServiceProvider.Baidu;
|
||||
|
||||
Reference in New Issue
Block a user