lmstudio-ai / lmstudio-ai/docs

Invalid structured output configuration: data/type must be equal to one of the allowed values, data/type must be array, data/type must match a schema in anyOf

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
172
Forks
128
Avg merge
8m
Merged PRs (30d)
1

Description

{
"type": "json_schema",
"json_schema": {
"name": "optimized_russian_title_response",
"schema": {
"type": "object",
"properties": {
"optimized_title": {
"type": "string",
"description": "Optimized Russian product title, no more than 60 characters"
}
},
"required": [
"optimized_title"
],
"additionalProperties": false
}
}
}

Contributor guide

Open the contributing guide

Research direction

Start with the structured-output configuration shown in the issue and compare it with the repository's documentation for JSON schema responses. Reproduce the reported validation error if possible, then identify whether the configuration or the documentation is incorrect. Done means the supported configuration and its expected validation behavior are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.