mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
The `requirements.txt` file has been updated to include the following changes: - Removed the comment for the Google API dependency. - Added the `anthropic` dependency. - Added a newline at the end of the file. 🐛 fix(ChatProcess.py): fix removing reaction in Chat class The `remove_reaction` method in the `Chat` class was not awaited, causing it to not be executed properly. The fix ensures that the method is awaited before continuing execution. 🐛 fix(prompts.py): fix placeholder name in createPrompt function The placeholder name `[datetime]` in the `createPrompt` function has been changed to `[date-and-time]` to improve clarity and consistency. 🔧 chore(chat.txt): update Zenith prompt The Zenith prompt in the `chat.txt` file has been updated to include additional instructions for the AI character. The update provides more context and guidance for the AI's behavior. ✨ feat(claude.py): add support for Claude model A new file `claude.py` has been added to the `chatUtils/requesters` directory. This file contains the implementation for the `claude` function, which interacts with the Claude model from the Anthropoc API. The function takes a list of messages as input and generates a response using the Claude model. 🔧 chore(request.py): add support for Claude model in request function The `request` function in the `request.py` file has been updated to include support for the Claude model. When the `model` parameter is set to "claude", the function calls the `claude` function from the `claude.py` file to generate a response. 🔧 chore(variousclasses.py): add Claude model to models class The `models` class in the `variousclasses.py` file has been updated to include the Claude model as an option. The model name "claude" has been added to the `chatModels` list.
158 B
158 B