-
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.
Refactor DifyClient to fix initialization and recursion issues
- Modify __init__ method to properly set api_key and base_url - Remove dependency on __getattr__ during initialization - Ensure sdk is created after api_key and base_url are set - Maintain backwards compatibility with config file loading - Improve error handling for missing API key - Retain conversation management functionality
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 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