Skip to content

0.4.4

Choose a tag to compare

@teocns teocns released this 17 Mar 21:07
· 184 commits to main since this release
c9faca8

Changelog

  • Reduce the delay of span export from five seconds to one second to avoid orphaned spans during unexpected system exits (not necessarily exceptions but explicit exits from other applications). Expose this configuration parameter as an environment variable
  • Fixes #838 @the-praxs
  • Fixes #710 @tcdent
  • Restores support for Python 3.9 which has not yet reached EOL
  • Crew released version 105 which interacts with the legacy public API in a different manner. AgentOps is now integrated as a separate [module] (https://github.com/crewAIInc/crewAI/blob/main/src/crewai/utilities/events/third_party/agentops_listener.py) and we have included support for this refactor here.
  • Versions less than 105 were mostly covered by the existing implementation is also supported in this PR.
  • Tested with openai-agents to verify span export

Tests

  • Implements tests/unit/test_session_legacy.py to verify full backwards compatibility with CrewAI's and other libs
  • Removes deprecated failing tests:
    • test_insturmentation.py
    • test_instrumentation_errors.py
    • test_core.py
  • Favors test_decorators.py
  • Adds an implementation of crew AI testing in test/unit/test_session_legacy.py