Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: Add request uri and payload to RestApiOperationResponse #6082

Conversation

markwallace-microsoft
Copy link
Member

@markwallace-microsoft markwallace-microsoft commented May 1, 2024

Motivation and Context

Closes #6071

Description

Add a new EnablePayloadInResponse execution parameter which determines whether payload will be included in the RestApiOperationResponse. If true, the payload will be included in the response. Otherwise the payload will not be included and RestApiOperationResponse.Payload will be null. RestApiOperationResponse.IncludesPayload will be set to true if the payload is included in the response.

Contribution Checklist

@markwallace-microsoft markwallace-microsoft requested a review from a team as a code owner May 1, 2024 15:04
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel kernel.core labels May 1, 2024
@github-actions github-actions bot changed the title Add request uri and payload to RestApiOperationResponse .Net: Add request uri and payload to RestApiOperationResponse May 1, 2024
@zengin
Copy link
Contributor

zengin commented May 7, 2024

@markwallace-microsoft can we add request method as well? There might be cases where URL is the same, but operation is different. That information might be useful in making sure that LLM didn't choose the wrong operation.

@markwallace-microsoft markwallace-microsoft added this pull request to the merge queue May 8, 2024
Merged via the queue into microsoft:main with commit 431d18b May 8, 2024
15 checks passed
@markwallace-microsoft markwallace-microsoft deleted the users/markwallace/issue_6071 branch May 8, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel.core kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code
Projects
None yet
5 participants