0.13.0
What's Changed
API change
Add log10_tags
context manager and with_log10_tags
decorator by @wenzhe-log10 in #299
This PR introduces:
log10_session
Enhancement - Improved handling of tags in nested log10_session calls. Tags will now be appended instead of overwritten.
Example:
with log10_session(tags=["A"]):
with log10_session(tags=["B"]):
# New behavior: tags will be ["A", "B"]
# Old behavior: tags were just ["B"]
Note: this only affects nested log10_session usage. Single log10_session calls are unchanged.
- Introducing
log10_tags
context manager andwith_log10_tags
function decorator to add tags
• A new context manager for adding tags to logs without creating a new session ID.
• Can be used independently or with log10_session.
• Tags will be appended in nested case.
Misc
- Bump minimum python version to 3.10 by @kxtran in #292
- Bump openai from 1.42.0 to 1.46.1 by @wenzhe-log10 in #302
- replace logging.warn with logger.warning, logger is defined and warn … by @wenzhe-log10 in #306
- bump openai to 1.51.0 by @wenzhe-log10 in #313
Full Changelog: 0.12.0...0.13.0