Ensure that deprecations for fields follow through to OpenAPI

This commit is contained in:
Ashwin Bharambe 2025-02-19 13:54:04 -08:00
parent 31a5ba5268
commit 034ece0011
3 changed files with 22 additions and 3 deletions

View file

@ -1644,6 +1644,7 @@ components:
Whether tool use is required or automatic. This is a hint to the model
which may not be followed. It depends on the Instruction Following capabilities
of the model.
deprecated: true
tool_prompt_format:
type: string
enum:
@ -1653,6 +1654,7 @@ components:
title: ToolPromptFormat
description: >-
Prompt format for calling custom / zero shot tools.
deprecated: true
tool_config:
$ref: '#/components/schemas/ToolConfig'
max_infer_iters: