matrix-gptbot/CHANGELOG.md
Kumi 3f084ffdd3
All checks were successful
Docker CI/CD / Docker Build and Push to Docker Hub (push) Successful in 8m22s
Python Package CI/CD / Setup and Test (push) Successful in 1m11s
Python Package CI/CD / Publish to PyPI (push) Successful in 38s
feat: enhance tool and image handling
Introduced changes to the tool request behavior and image processing. Now, the configuration allows a dedicated model for tool requests (`ToolModel`) and enforces automatic resizing of context images to maximal dimensions, improving compatibility and performance with the AI model. The update shifts away from a rigid tool model use, accommodating varied model support for tool requests, and optimizes image handling for network and processing efficiency. These adjustments aim to enhance user experience with more flexible tool usage and efficient image handling in chat interactions.
2024-05-20 10:20:17 +02:00

3 KiB

Changelog

0.3.13 (2024-05-20)

  • Breaking Change: The ForceTools configuration option behavior has changed. Instead of using a separate model for tools, the bot will now try to use the default chat model for tool requests, even if that model is not known to support tools.
  • Added ToolModel to OpenAI configuration to allow specifying a separate model for tool requests
  • Automatically resize context images to a default maximum of 2000x768 pixels before sending them to the AI model

0.3.12 (2024-05-17)

  • Added ForceVision to OpenAI configuration to allow third-party models to be used for image recognition
  • Added some missing properties to OpenAI class

0.3.11 (2024-05-17)

  • Refactoring of AI provider handling in preparation for multiple AI providers: Introduced a BaseAI class that all AI providers must inherit from
  • Added support for temperature, top_p, frequency_penalty, and presence_penalty in AllowedUsers
  • Introduced ruff as a development dependency for linting and applied some linting fixes
  • Fixed gptbot command line tool
  • Changed default chat model to gpt-4o
  • Changed default image generation model to dall-e-3
  • Removed currently unused sections from config.dist.ini
  • Changed provided Pantalaimon config file to not use a key ring by default
  • Prevent bot from crashing when an unneeded dependency is missing

0.3.10 (2024-05-16)

  • Add support for specifying room IDs in AllowedUsers
  • Minor fixes

0.3.9 (2024-04-23)

  • Add Docker support for running the bot in a container
  • Add TrackingMore dependency to pyproject.toml
  • Replace deprecated pkg_resources with importlib.metadata
  • Allow password-based login on first login

0.3.7 / 0.3.8 (2024-04-15)

  • Changes to URLs in pyproject.toml
  • Migrated build pipeline to Forgejo Actions

0.3.6 (2024-04-11)

  • Fix issue where message type detection would fail for some messages (cece8cfb24)

0.3.5

  • Only set room avatar if it is not already set (a9c23ee9c4)

0.3.4 (2024-02-18)

  • Optimize chat model and message handling (10b74187eb)
  • Fix parameter passing in chat response calls (2d564afd97)
  • Refine message filtering in bot event processing (c47f947f80)

0.3.3 (2024-01-26)

  • Implement recursion check in response generation (e6bc23e564)
  • Implement tool emulation for models without tool support (0acc1456f9)
  • Allow selection of chat model by room (87173ae284)

0.3.2 (2023-12-14)

  • Removed key upload from room event handler
  • Fixed output of python -m gptbot -v to display currently installed version
  • Workaround for bug preventing bot from responding when files are uploaded to an encrypted room

Known Issues

  • When using Pantalaimon: Bot is unable to download/use files uploaded to unencrypted rooms

0.3.1 (2023-12-07)

  • Fixed issue in newroom task causing it to be called over and over again