xqdoo00o / chatgpt-web

Pure Javascript ChatGPT demo based on OpenAI API
https://xqdoo00o.github.io/chatgpt-web/
MIT License
963 stars 364 forks source link

Hi brother #108

Closed yswlww closed 11 months ago

yswlww commented 11 months ago

May i know where i can modify the unusable model like the GPT-4-browsing? also i would like to add other's model, where i can add?

xqdoo00o commented 11 months ago

Here https://github.com/xqdoo00o/chatgpt-web/blob/main/index.html#L2361

yswlww commented 11 months ago

After i have modified the models at L2361, when i visit the page, the old models still here, and i need to press control F5 each time, then can see the new models

xqdoo00o commented 11 months ago

After i have modified the models at L2361, when i visit the page, the old models still here, and i need to press control F5 each time, then can see the new models

Do you setup the pwa? if so just force-refresh in sidebar or add version number in sw.js

yswlww commented 11 months ago

After i have modified the models at L2361, when i visit the page, the old models still here, and i need to press control F5 each time, then can see the new models

Do you setup the pwa? if so just force-refresh in sidebar or add version number in sw.js

No i haven't setup the pwa, just modified the models there in L2361

xqdoo00o commented 11 months ago

After i have modified the models at L2361, when i visit the page, the old models still here, and i need to press control F5 each time, then can see the new models

Do you setup the pwa? if so just force-refresh in sidebar or add version number in sw.js

No i haven't setup the pwa, just modified the models there in L2361

should not, just click force-refresh button in sidebar or clear browser cache

yswlww commented 10 months ago

thanks bro, i found it caused by the chrome, thanks