-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net: New Feature: Provide additional messages when invoking the agent run. #9685
Comments
Hi @sandrohanea - Thank you for the input / suggestions. For
For function overrides, the agent always advertises the available functions based on its associated The collection of available plugins may be directly managed on the agent.Kernel.Plugins.Add(...);
agent.Kernel.Plugins.Remove(...); We currently support I can certainly add it to the |
…9737) ### 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. --> Add support for `AdditionalMessages` option when invoking a run. Fixes: #9685 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Allow the addition of multiple messages to a thread when invoking a `OpenAIAssistantAgent`. ### 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 😄
name: Provide additional messages when invoking the agent run.
about: Suggest an idea for this project
Similar with #8715
OpenAIAssistantInvocationOptions is not exposing all the properties available in RunCreationOptions
The missing property includes:
AdditionalMessages
ToolOverrides
Without this option, we are forced to execute multiple calls to the API (to add the user message + separate to create the assistant run when we can do it with a single call).
The text was updated successfully, but these errors were encountered: