MicroFish/backend/app
iml1s 481cc009a3 fix(llm_client): remove response_format json_object for local LLM compatibility
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 985f89f
which improved compatibility with diverse model outputs.

Tested with: LM Studio + qwen3.5-9b (full predict pipeline passes)
2026-03-11 02:20:25 +08:00
..
api feat(SimulationAPI): add function to retrieve latest report ID for a given simulation 2026-01-09 16:04:35 +08:00
models Enhance backend functionality with OASIS simulation features 2025-12-01 15:03:44 +08:00
services feat(graph): implement pagination for fetching nodes and edges; add utility functions for streamlined data retrieval 2026-02-27 15:53:29 +08:00
utils fix(llm_client): remove response_format json_object for local LLM compatibility 2026-03-11 02:20:25 +08:00
__init__.py Implement Report Agent for automated report generation and interaction 2025-12-09 15:10:55 +08:00
config.py fix(config): enable overriding of environment variables when loading .env file 2026-01-23 16:20:24 +08:00