Skip to content

gen-ai: remove deprecated save_as_preset field#1197

Merged
anup-deka merged 1 commit into
digitalocean:mainfrom
ritheek-pitti-do:MS-871-remove-deprecated-save-as-preset-field
Jul 3, 2026
Merged

gen-ai: remove deprecated save_as_preset field#1197
anup-deka merged 1 commit into
digitalocean:mainfrom
ritheek-pitti-do:MS-871-remove-deprecated-save-as-preset-field

Conversation

@ritheek-pitti-do

Copy link
Copy Markdown
Contributor

Summary

  • Removes the deprecated save_as_preset boolean property from apiCreateModelEvaluationRunInputPublic in specification/resources/gen-ai/definitions.yml.
  • This field has been superseded by preset_save_sections, which allows selecting individual preset sections to save instead of an all-or-nothing boolean.
  • Mirrors the removal of the corresponding deprecated save_as_preset field from the gen-ai API's proto definition.
  • Scoped narrowly to this field removal; this PR does not attempt to reconcile other pre-existing drift between this fork and the source spec for unrelated gen-ai endpoints.

Test plan

  • make bundle succeeds with no new warnings/errors introduced by this change.
  • Confirmed no other references to save_as_preset remain in the spec.

Made with Cursor

Removes the legacy save_as_preset boolean from
apiCreateModelEvaluationRunInputPublic; superseded by
preset_save_sections. Mirrors the removal in the gen-ai proto
(cthulhu).

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants