Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#3570 from Rocky0102/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa authored Dec 26, 2023
2 parents bb3cc2c + 8efe26e commit c03abda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export function getHeaders() {
const headers: Record<string, string> = {
"Content-Type": "application/json",
"x-requested-with": "XMLHttpRequest",
"Accept": "application/json",
};
const modelConfig = useChatStore.getState().currentSession().mask.modelConfig;
const isGoogle = modelConfig.model === "gemini-pro";
Expand Down

0 comments on commit c03abda

Please sign in to comment.