Skip to content

0.2.43

Choose a tag to compare

@aix-ahmet aix-ahmet released this 11 Mar 20:12
· 33 commits to main since this release

Release Notes

0.2.43 (2026-03-11)

Features

  • v1-restructure: Reorganize legacy modules into aixplain/v1/ namespace (#859)

    • All v1 modules (enums, factories, modules, decorators, base, processes) moved from aixplain/ to aixplain/v1/
    • Backward-compatible import redirector (aixplain/_compat.py) ensures all existing import paths (from aixplain.modules import …, from aixplain.factories import …, etc.) continue to work transparently
    • Clean separation between v1 and v2 SDK surfaces
  • agent: Add run_response_generation parameter support for v2 agents

    • Snake-case run_response_generation kwarg auto-mapped to runResponseGeneration
    • Available on both run() and run_async() methods
  • api-key: Improved v2 API key management (#851, #853)

    • model_id renamed to model across APIKeyLimits and APIKeyUsageLimit for consistency
    • access_key renamed to key on APIKey for a cleaner interface
    • Accept model objects (not just IDs) when setting rate limits — auto-resolved via _resolve_model()
    • before_save() deduplicates by name, falling back to update if a key with the same name exists
    • _create() gracefully handles HTTP 422 name conflicts
    • User-facing to_dict() now returns snake_case keys

Improvements

  • agent: Updated default LLM model ID for v2 agents
  • agent: Fixed duplicate docstring in Agent.run() method
  • agent: Task dependencies field no longer excluded when empty
  • v2-model: Refined model and resource modules with improved error handling
  • v2-integration: Updated integration module improvements
  • readme: Rewrote README with v2-first examples, AgenticOS architecture diagram, and streamlined quick-start guide
  • docs: Regenerated API documentation for new v1/v2 structure (#845)
  • dependencies: Updated requirements and lockfile

Bug Fixes

  • tests: Fixed test repetition and revised merge conflicts (#859, #860)
  • pipeline: Removed duplicate code in pipeline module
  • v2: Various cleanup across v2 exceptions, client, and utility modules

Test Changes

  • Added v2 agent functional tests
  • Expanded v2 model functional tests with score threshold tests
  • Refactored agent, team agent, and inspector functional tests
  • Updated unit tests for v2 API key and model changes