SIGN IN SIGN UP
ChatGPTNextWeb / NextChat UNCLAIMED

✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows

0 0 0 TypeScript

Improve Default System Template (#3996)

* Feat [UI/UX] [Constant] [DEFAULT System Template] replace hardcoded

- [+] feat(constant.ts): replace hardcoded OpenAI with dynamic ServiceProvider variable in DEFAULT_SYSTEM_TEMPLATE

* Improve [UI/UX] [Chat] "fillTemplateWith"

- [+] feat(chat.ts): add DEFAULT_MODELS to modelConfig
- [+] fix(chat.ts): replace replaceAll with regex in output string replacement
- [+] refactor(chat.ts): use const instead of let for cutoff variable
H
H0llyW00dzZ committed
a5517a1a51de81f9527f2e734d8412f6f4f8962c
Parent: 4511aa4
Committed by GitHub <noreply@github.com> on 2/5/2024, 5:35:51 AM