Skip to content

V3#93

Merged
monoxgas merged 27 commits into
mainfrom
v3
May 9, 2025
Merged

V3#93
monoxgas merged 27 commits into
mainfrom
v3

Conversation

@monoxgas

@monoxgas monoxgas commented May 8, 2025

Copy link
Copy Markdown
Contributor
  • Dropped support for Python 3.9. The minimum supported Python version is now 3.10. All workflows, poetry configuration, and dependencies have been updated accordingly.
  • Refactored documentation: migrated from MkDocs to Mintlify/Mdx style, overhauled all docs to .mdx and .json formats, updated navigation and assets, and removed material/mkdocs build files and static assets.
  • Refactored and unified the tool system under rigging.tool. The Tool, @tool, @tool_method, robopages, and mcp interfaces have replaced previous ApiTool and native Tool abstractions. Tool usage in pipelines is now consistent and all tool APIs are migrated to the new system.
  • Major internal rewrite of ChatPipeline and associated pipeline flow:
    • Removed until() and legacy internal pipeline control, replaced with then() and map() callback-based interface using PipelineStep, step(), and ContextManager/AsyncGenerator patterns.
    • until_parsed_as() parameters changed: removed/deprecated max_rounds, attempt_recovery, and drop_dialog, added/renamed to max_depth.
    • Exception for exceeding rounds changed from MessagesExhaustedMaxRoundsError to MaxDepthError. Update exception handling in calling code.
  • Unified handling of message content and modality:
    • Standardized Message.content as text-only; use Message.content_parts for full content, including multimodal parts.
    • Added ContentAudioInput type for audio.
    • Updated serialization logic for message content parts, API specs, and cross-provider compatibility.
  • Changed the handling of retries and error catching in pipelines:
    • Replaced errors_to_fail_on with errors_to_catch.
    • All catchable errors during pipeline execution now use the catch list and unified on_failed handling for "raise", "skip", or "include".
  • Set the default merge_strategy in ChatPipeline.add to "none". Messages of the same role are not merged unless explicitly requested.
  • Added .cache() method on ChatPipeline for controlling prompt caching hints (experimental).
  • Updated dependencies: latest litellm, openai, and added support for mcp and related protocol support libraries.
  • Cleaned up public API: removed the unused integrations module; imported all new public symbols (tool_method, mcp, robopages, etc.) from root.
  • Small fixes and formatting: reformatted code to 100 columns, improved CLI argument formatting, and upgraded ruff config/ignore list.
  • Removed all previously auto-generated API documentation markdown in favor of new Mintlify/mint-style navigation and layout.
  • The example and code remains backwards-compatible for basic usage but some advanced pipeline usage will require adaptation.

This summary was generated with ❤️ by rigging

@monoxgas monoxgas requested a review from a team as a code owner May 8, 2025 07:01
@dreadnode-renovate-bot dreadnode-renovate-bot Bot added area/docs Changes to documentation and guides area/python Changes to Python package configuration and dependencies area/tests Changes to test files and testing infrastructure area/examples Changes to example code and demonstrations type/docs Documentation updates and improvements area/github Changes made to GitHub Actions labels May 8, 2025
@monoxgas monoxgas merged commit 2998951 into main May 9, 2025
5 checks passed
@monoxgas monoxgas deleted the v3 branch May 30, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Changes to documentation and guides area/examples Changes to example code and demonstrations area/github Changes made to GitHub Actions area/python Changes to Python package configuration and dependencies area/tests Changes to test files and testing infrastructure type/docs Documentation updates and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant