Fixed fatal error of streaming with non-ascii characters.
Current AI models always return an empty object in the front and I stopped listening once after receiving a None object... I'm so stupid.
Added IP lookup in logs to prevent attacks.
Added three more languages.
TODO Completed: #002 Add more languages.
Improved i18n support.
Now it can read your browser language and set the page language accordingly.
TODO: #002 Add more languages.
Minor fixes.
Improvements to the filesystem structure.
Updated sender button.
New feature: add custom models to the settings.
New feature: manage system prompts flexibly.
TODO: #001 Manage system prompts in the frontend, not the backend.
New feature: change models manually.
Made settings model stay exactly in the middle.
Merged with main branch. Tested OK.
Fixed bug when searching. Previously, all searches will fail after a single failed search.
Broke system prompts into separate files. You can edit them yourself to customize the chatbot.
Improved language support and local time support.
Now the chatbot will tell you the local time, not the UTC time!
Added multiple languages. Improved system prompt.
Fixed system message hiding bug. Fixed system prompt.
Added timedate support.
Fixes search feature. Now you can set DUCK_PROXY
environment variable to use proxy for DuckDuckGo.
Set default language to English to allow for international users.
Will add more languages soon.