Allow "reasoning.encrypted_content" in the Responses API `IncludeParameter`
type so requests from OpenAI-compatible clients (such as Goose targeting
reasoning-capable models) are no longer rejected with HTTP 422 during
Pydantic request validation on POST /v1/responses.
OGX 1.2.5 already includes `reasoning.encrypted_content` in
`ogx_api.responses.models.ResponseItemInclude` and `ogx-client`'s
`CreateResponseRequest`, and handles it gracefully in
`create_openai_response()` (filtering it out instead of rejecting the
request). Adding `"reasoning.encrypted_content"` directly to
`IncludeParameter` brings `lightspeed-stack` into parity with OGX 1.2.5
while preserving the existing `IncludeParameter` OpenAPI schema component
name on the 0.7 release branch.
Also regenerates `docs/devel_doc/openapi.json`, updates the Responses API
documentation/model schema, and adds unit tests covering valid and invalid
`include` values on `ResponsesRequest`.
Signed-off-by: Dan Prince <dprince@redhat.com>
(cherry picked from commit 34beaca)
Allow "reasoning.encrypted_content" in the Responses API
IncludeParametertype so requests from OpenAI-compatible clients (such as Goose targeting reasoning-capable models) are no longer rejected with HTTP 422 during Pydantic request validation on POST /v1/responses.OGX 1.2.5 already includes
reasoning.encrypted_contentinogx_api.responses.models.ResponseItemIncludeandogx-client'sCreateResponseRequest, and handles it gracefully increate_openai_response()(filtering it out instead of rejecting the request). Adding"reasoning.encrypted_content"directly toIncludeParameterbringslightspeed-stackinto parity with OGX 1.2.5 while preserving the existingIncludeParameterOpenAPI schema component name on the 0.7 release branch.Also regenerates
docs/devel_doc/openapi.json, updates the Responses API documentation/model schema, and adds unit tests covering valid and invalidincludevalues onResponsesRequest.(cherry picked from commit 34beaca)