feat: support thought_signature

according to gemini docs: https://ai.google.dev/gemini-api/docs/thought-signatures

thought_signature lives in the extra_content of the tool_call, add extra_content to OpenAIChatCompletionToolCall to support this

Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
Charlie Doern 2025-12-01 16:13:00 -05:00
parent b1851dc9ef
commit b99eb2a1d2
6 changed files with 26 additions and 0 deletions

View file

@ -4228,6 +4228,11 @@ components:
title: OpenAIChatCompletionToolCallFunction
- type: 'null'
title: OpenAIChatCompletionToolCallFunction
extra_content:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
type: object
title: OpenAIChatCompletionToolCall
description: Tool call specification for OpenAI-compatible chat completion responses.