You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am giving the LLM a function that allows it to make requests to turn on a light. If the AI performs the operation wrong, the function will return an error which will raise an exception that ends the auto function calling. Instead, the exception should be caught so the auto function calling loop can continue
The text was updated successfully, but these errors were encountered:
### Motivation and Context
<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
1. Why is this change required?
2. What problem does it solve?
3. What scenario does it contribute to?
4. If it fixes an open issue, please link to the issue here.
-->
When a function that was called using tool calling fails, it shouldn't
drop the whole flow, this fixes that.
Fix#6260
### Description
<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
Creates a function result content item with the failing function and the
error message, allowing the model to figure out if it wants to recall
with different params.
### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
I am giving the LLM a function that allows it to make requests to turn on a light. If the AI performs the operation wrong, the function will return an error which will raise an exception that ends the auto function calling. Instead, the exception should be caught so the auto function calling loop can continue
The text was updated successfully, but these errors were encountered: