Skip to content

v4.5.0

Latest

Choose a tag to compare

@TheFirstNoob TheFirstNoob released this 16 Mar 19:50
· 4 commits to main since this release

In this update I tried to optimize and improve all the functionality of the bot, as well as unload heavy functions and divide all tasks into small functions.
I also began to study and design the Discord Embed functionality and that is why this version did not become 5.0.0 :)

Thanks for testing all code and functional: @Vasabiko

Added:

  • Dynamic TTL caching
  • Think and Reasoning tags now supported for send_split_message и send_split_code and use Discord Embed
  • New AI models:
    • claude-3.7-sonnet
    • qwen-2.5-1m-demo
    • mixtral-small-24b

Improved/Fixed:

  • pdfminer.six replaced by fitz (pyMuPDF). This lib more effective and stable
  • Refactor message/command logic:
    • Removed process_message. Now we can use handle_response directly
    • handle_response is split into several functions
  • Refactor Ban system:
    • New command /ban-info for check ban user status
    • Support Discord Embed
    • Now uses asyncio.task to automatically check for expired bans
  • Refactor Remind system:
    • Improve time code logic
    • Now generate unique IDs
  • Refactor Internet search:
    • Now function not create new session for each request. Use recall
    • Now support HTTP status errors
    • MAX_HTML_SIZE now Const
    • Add HTMLTooLarge checks
    • Pontential fix empty list result and unwanted element has early returned
  • Refactor Libs checker:
    • Now uses importlib for effective checks and support more python versions

Remove:

  • My RetryProvider class for evade duplicate logic. Now uses G4F RetryProvider

Full Changelog: v4.4.0...v4.5.0