Skip to content

v0.6.0: Breakpoint Recovery, Serialization and Deserialization, Gemini and Open LLMs Support

Compare
Choose a tag to compare
@garylin2099 garylin2099 released this 03 Jan 15:57
· 46 commits to v0.6-release since this release
a1c754b

Release Highlights

Numerical statistics

  • Huge number of commits: increased from ~1300 to ~2000
  • Significantly improved test coverage: from ~30% to 80%+

Ease of use

  • Example simplification: Now only 7 lines of code are needed to implement a general election debate. Simplified debate and knowledge base related examples
  • Pure asynchronous: LLM API calls are changed to pure asynchronous, removing all synchronization code

Framework update

  • Integrated code to support Huggingface demo and AgentStore
  • Added serialization and deserialization of important objects
  • Supported breakpoint recovery
  • All types modified to base on pydantic v2. In order to keep it simple enough, all private variables are changed to public
  • Moved most logic of ActionOutput to ActionNode

LLM provider update

Other update

  • Removed OpenInterpreter and StableDiffusion part of the code
  • Added ToT strategy
  • Installation process optimized: now you can use pip install -e .[dev] / pip install -e .[test] to install the package corresponding to the scenario

What's Changed

Backwards Incompatible Changes

  • IMPORTANT: In accordance with OpenAI's official specifications, the OPENAI_API_BASE has been renamed to OPENAI_BASE_URL in config.yaml
  • The underlying abstraction has been renamed from BaseGPTAPI to BaseLLM, making it more generic and capable of supporting API / UI / local interfaces.
  • Role._rc -> Role.rc
  • Removed BaseLLM.ask and BaseLLM.ask_code, maintained the asynchronous BaseLLM.aask and BaseLLM.aask_code only

Features

Bugfixes and improvements

Documents