MicroFish/backend/app
zhangshizhao 3c7394ba2d fix: 修复报告生成时的报错,处理模型返回 None 的情况
- chat() 方法:当模型返回的 content 为 None 时,直接返回 None,避免 re.sub() 接收 None 崩溃
- chat_json() 方法:去掉 response_format 参数,改为从模型文本输出中手动提取 JSON,兼容 markdown 代码块和裸 JSON 两种格式
2026-03-30 14:30:42 +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: 修复报告生成时的报错,处理模型返回 None 的情况 2026-03-30 14:30:42 +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