Skip to content

DevChat Core v0.2.6

Compare
Choose a tag to compare
@basicthinker basicthinker released this 25 Sep 09:43
· 237 commits to main since this release

(Since v0.2.0)

Highlights

  • Introduced ConfigManager for handling chat model configurations.
  • Upgraded the chat provider configuration and added support for other chat providers and their parameters.
  • Deprecated old JSON configs in favor of new YAML format.
  • Added recursive prompting support via RecursivePrompter class.
  • Improved error handling in the CLI commands.
  • Enhanced Assistant and OpenAIChat classes for better response handling.
  • Provided protection against tiktoken counting errors.
  • Improved handling of namespaces in the engine.

Change Log

Improvements

  • Implemented ConfigManager for chat models, with creation, loading, validation, and updating of configs. (3d7c49b)
  • Added support for converting old JSON config to new YAML format, support for other chat providers and their parameters, and refactored the config manager. (003ad46)
  • Added RecursivePrompter class to handle recursive prompting. (f4b558e)
  • Refactored error handling in the CLI commands. (e3b7511, 20e0e7d)
  • Updated Assistant and OpenAIChat classes for better response handling. (64f4ba4)
  • Added a fall-back token counting function. (5cb9e7c)
  • Enhanced Namespace class with additional functionality. (4019c42, 9bab5a7)

Bug Fixes

  • Fixed a bug relating to incorrect role checks in the OpenAIPrompt class, ensuring that messages with the "function" role are correctly processed. (5d25ccd)
  • Fixed a bug that would allow directories starting with '.' to be added as commands. (7109068)

Prompts

  • Updated instruct.txt to clarify instructions about response language request. (b4ea449)