Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

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 and H0llyW00dzZ committed Dec 26, 2023
1 parent 57519d1 commit 552ccac
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 @@ -145,6 +145,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 552ccac

Please sign in to comment.