griptape-ai / griptape

Modular Python framework for AI agents and workflows with chain-of-thought reasoning, tools, and memory.
https://www.griptape.ai
Apache License 2.0
2.02k stars 170 forks source link

Drivers Config Context Manager #1162

Closed collindutter closed 2 months ago

collindutter commented 2 months ago

Describe your changes

Added ability to use Drivers Configs as Context Managers for temporarily setting the default Drivers.

Issue ticket number and link

NA


📚 Documentation preview 📚: https://griptape--1162.org.readthedocs.build//1162/

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review. Files with missing lines Patch % Lines
griptape/configs/drivers/base_drivers_config.py 91.66% 0 Missing and 1 partial :warning:

:loudspeaker: Thoughts on this report? Let us know!