[BUG] Required field 'function_call_id' missing from chatCompletionRequestMessageFunction #31858
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
data-plane
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-10-21/inference.json
API Spec version
2024-10-21
Describe the bug
Spec does not validate due to 'required' field missing for 'function_call_id' in chatCompletionRequestMessageFunction.
Expected behavior
Spec should validate.
Actual behavior
openapi-spec-validator --schema=3.0 inference.json throws the following error:
Validation Error: Required list has not defined properties: ['function_call_id']
Reproduction Steps
Save https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-10-21/inference.json to a file called inference.json
pip install openapi-spec-validator
openapi-spec-validator --schema=3.0 inference.json
Environment
Python 3.12.8 virtual environment.
The text was updated successfully, but these errors were encountered: