Skip to content

Commit

Permalink
Another Fix from head repo & Update Docs (ChatGPTNextWeb#163)
Browse files Browse the repository at this point in the history
* fix(CUSTOM_MODELS):ChatGPTNextWeb#3349 Dependency chatStore otherwise the session and view will not updated

* Update README.md

---------

Co-authored-by: durianice <godogpt@gmail.com>
Co-authored-by: Yidadaa <yidadaa@qq.com>
  • Loading branch information
3 people authored Nov 27, 2023
1 parent 20fba13 commit 15e1181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ If you want to add a new translation, read this [document](./docs/translation.md
[@wenjiavv](https://github.com/wenjiavv)
[@LeXwDeX](https://github.com/LeXwDeX)
[@Licoy](https://github.com/Licoy)
[@shangmin2009](https://github.com/shangmin2009)

### Contributor

Expand Down
3 changes: 1 addition & 2 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,7 @@ export function ChatActions(props: {
);
showToast(nextModel);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [currentModel, models]);
}, [chatStore, currentModel, models]);

return (
<div className={styles["chat-input-actions"]}>
Expand Down

0 comments on commit 15e1181

Please sign in to comment.