Releases: langx/copilot
Releases · langx/copilot
v0.2
Announcment
- These updates collectively enhance the functionality, performance, and maintainability of the project, ensuring a more robust and user-friendly experience.
New Features
- Added OpenAI chat completion functionality, enhancing the bot's capabilities by utilizing OpenAI's models (4cf3129).
Enhancements
- Updated grammar correction status icon in README.md to reflect current status and improvements (1204bb3).
- Updated package version to 0.2.0 to reflect recent changes and additions (42259c8).
- Improved interaction reply formatting in
bot.js
for better user experience and clearer communication (77d1233, bf18dd0). - Updated
handleInteraction
function to parse AI response as JSON, ensuring better handling and processing of AI responses (81da4d6, 8d9160d). - Updated
appwrite.json
with event trigger for document creation, enhancing the integration and automation within Appwrite (545557f). - Updated
.env.sample
withOPENAI_API_KEY
andOPENAI_ASSISTANT_ID
for better configuration management (c671c7f, eb47dd3).
Bug Fixes
- Migrated to ChatGPT from Gemini API, fixing various issues and improving overall stability and performance (2aa5256).
Refactoring
- Removed OpenAI integration from
openai.js
, consolidating and streamlining the integration within the project (d83c883). - Updated OpenAI integration in
aiHandler.js
to improve structure and maintainability of the codebase (ed77d3d).
What's Changed
Full Changelog: v0.1.1...v0.2
v0.1.1
Bug Fixes
- Update aiHandler.spec.js to fix response assignment bug
Refactoring
- Parse response text as JSON in bot.js
- Add write permission for sender in index.js
- Improve error handling and logging in aiHandler.js and index.js
- Update index.js to log AI response text
Full Changelog: v0.1...v0.1.1
v0.1
New Features
- 🚀 Added Appwrite Functionality for LangX Copilot with POST Request Support
Enhancements
- Improved handling of user interactions based on
early-adopter
badge - Enhanced JWT handling from request headers
- Improved system instructions and chat history management
Bug Fixes
- Added error handling for missing required fields
- Improved logging and error handling in
index.js
andaiHandler.js
Refactoring
- Added
messageId
to copilot document creation - Stored copilot results in the database
- Updated
index.js
for better document creation and read permissions - Refined error handling and logging throughout the codebase
- Updated file paths and configurations for system instructions and chat history
What's Changed
- Xuelink/issue6 test sync by @xuelink in #7
- Xuelink/issue6 sync build by @xuelink in #9
- Add Appwrite Functionality for LangX Copilot with POST Request Support by @xuelink in #10
- Merge pull request #10 from langx:xuelink/issue6 by @xuelink in #11
- Build sync by @xuelink in #12
Full Changelog: v0.0.3...v0.1
v0.0.3
New Features
- Added async function to handle API requests and respond with a personalized message.
Enhancements
- Updated chat history and instructions files.
- Improved AI chat handler module.
- Updated bot.js to handle direct messages and restricted the bot from responding to direct messages.
- Added input validation and sanitization for user messages in bot.js.
- Updated environment variables and code for better error handling in index.js.
- Added system instructions and chat history files.
- Updated JSON parsing in bot.js.
- Improved error handling and log request data in index.js.
- Updated index.js to use ES6 module syntax and removed unnecessary code.
Bug Fixes
- Removed unnecessary code in index.js.
- Improved error handling in index.js.
Refactoring
- Updated AI chat handler module, safety settings, and environment variables.
- Restricted direct messages to the bot in Discord by adding intent for direct messages and enabling partials in bot.js.
- Updated environment variables in .env.sample and README.md.
Full Changelog: v0.0.2...v0.0.3
v0.0.2
New Features
- Limit input characters to 500. This feature addresses and resolves issue #1.
Refactorings
- Updated Discord Copilot workflow to fix grammar descriptions in
registerCommands.js
. - Updated issue templates for warning requests, bug reports, and feature requests.
- Added funding model platforms to
.github/FUNDING.yml
. - Updated
README.md
with demo information and contributing guidelines.
What's Changed
New Contributors
Full Changelog: v0.0.1...v0.0.2
v0.0.1
New Features
- First Version of LangX Copilot: Initial release with a Discord bot.
- /fix Command: Supports grammar corrections on Discord.
Upcoming Features: Additional language learning tools and enhancements will be available in future updates.
Full Changelog: https://github.com/langx/copilot/commits/v0.0.1