-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance API interactions and logging across multiple modules
- Updated `APILogger` to support `GenerateContentResponse` from Google, improving compatibility with new response types. - Cleaned up imports in `helper.py` by removing unused ones for better code clarity. - Enhanced message content handling in `SupervisionContext` to accommodate different content types, including images. - Introduced new functions in `utils.py` for converting state messages to Gemini API format and for generating responses compatible with Gemini, enhancing integration capabilities. - Improved error handling in message conversions to ensure robust logging of issues. These changes collectively enhance the modularity, readability, and functionality of the API interactions and supervision processes.
- Loading branch information
Showing
4 changed files
with
102 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters