LM Studio and Ollama do not support response_format: json_object,
only json_schema or text. This causes errors when using local LLMs.
The existing markdown fence cleanup logic in chat_json() already
handles parsing JSON from raw LLM output, making response_format
unnecessary. This change follows the same pattern as commit
|
||
|---|---|---|
| .. | ||
| api | ||
| models | ||
| services | ||
| utils | ||
| __init__.py | ||
| config.py | ||