Skip to content

Releases: langx/copilot

v0.2

05 Jun 10:38
63ff497
Compare
Choose a tag to compare

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 with OPENAI_API_KEY and OPENAI_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

  • Migrate to ChatGPT from Gemini API by @xuelink in #15

Full Changelog: v0.1.1...v0.2

v0.1.1

03 Jun 03:30
4d2340e
Compare
Choose a tag to compare

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

30 May 23:59
b546e8b
Compare
Choose a tag to compare

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 and aiHandler.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

Full Changelog: v0.0.3...v0.1

v0.0.3

26 May 15:28
1351ab0
Compare
Choose a tag to compare

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

21 May 23:50
25692d1
Compare
Choose a tag to compare

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

20 May 13:06
dfaf6b4
Compare
Choose a tag to compare

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

Screenshot 2024-05-20 at 4 06 03 PM