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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rest generator response must be a list #693

Merged
merged 1 commit into from
May 23, 2024

Conversation

jmartin-tech
Copy link
Collaborator

@jmartin-tech jmartin-tech commented May 22, 2024

To be compatible with changes from #637 rest.Generator needs to return single responses as a list.

Should I expand this and to check if singular key in response_json_field is already a list?

@jmartin-tech jmartin-tech requested a review from leondz May 22, 2024 13:05
Copy link
Collaborator

@erickgalinkin erickgalinkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@leondz
Copy link
Collaborator

leondz commented May 23, 2024

LGTM. Thanks. I'm left slightly in doubt about the broader handling of generations_this_call>1 within RestGenerator.

@leondz leondz merged commit c92d7a3 into NVIDIA:main May 23, 2024
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 23, 2024
@jmartin-tech jmartin-tech deleted the fix/rest-response-list branch May 23, 2024 13:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants