forked from microsoft/semantic-kernel
-
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.
Fix to log more details about failed function execution. (microsoft#529)
### Motivation and Context This change is required to allow SK SDK client code/hosting app to get more details about SK function execution failures. Open issue: [Important Error Message from Azure OpenAI service is ignored](microsoft#105) ### Description This change does two things: - Passes a logger instance as an argument of Kernel.FromSemanticConfig method so that the method can write logs at all. - Adds AIException details to the warning message logged by SKFunction when handling the function execution failure.
- Loading branch information
1 parent
7d181ab
commit a73bf9a
Showing
2 changed files
with
10 additions
and
4 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