Skip to content

Fixing doubled object type in v3/models response #4065

Open
przepeck wants to merge 1 commit intomainfrom
przepec/models_response_fix
Open

Fixing doubled object type in v3/models response #4065
przepeck wants to merge 1 commit intomainfrom
przepec/models_response_fix

Conversation

@przepeck
Copy link
Collaborator

🛠 Summary

CVS-183092
Deleting doubled object type in v3/models response

🧪 Checklist

  • Unit tests added.
  • The documentation updated.
  • Change follows security best practices.
    ``

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes an extra "object": "list" pair from the v3/models list response serialization to address a duplicated object type in the output.

Changes:

  • Deleted the "object": "list" fields from processListModelsRequest response writer.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines 637 to 641
time_t timestamp;
time(&timestamp);
writer.StartObject();
writer.String("object");
writer.String("list");
writer.String("data");
writer.StartArray();
Comment on lines 639 to 641
writer.StartObject();
writer.String("object");
writer.String("list");
writer.String("data");
writer.StartArray();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants