-
Notifications
You must be signed in to change notification settings - Fork 371
Refactor method to retrieve agent's response #536
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
base: main
Are you sure you want to change the base?
Conversation
get_last_message_by_role() method sig corrected to reflect latest SDK version
|
@mpapas : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit fba59b4: ✅ Validation status: passed
For more details, please refer to the build report. |
|
@aahill - Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
|
This pull request has been inactive for at least 14 days. If you are finished with your changes, don't forget to sign off. See the contributor guide for instructions. |
|
@aahill Could you review this proposed update to your article and enter Thanks! |
|
This pull request has been inactive for at least 14 days. If you are finished with your changes, don't forget to sign off. See the contributor guide for instructions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the method signature for retrieving agent responses to align with the latest SDK version. The original method was failing due to an incorrect API call pattern.
- Updated
get_last_message_by_role()method call to use the correct SDK interface - Fixed method chaining issue by calling the method directly on the messages client
- Corrected parameter structure to match current SDK expectations
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Can you review this old PR and determine whether it needs to be closed or merged? @MicrosoftDocs/public-repo-pr-review-team |
|
This pull request has been inactive for at least 14 days. If you are finished with your changes, don't forget to sign off. See the contributor guide for instructions. |
get_last_message_by_role() method sig corrected to reflect latest SDK version.
The method was failing in its original form.