MicroFish/backend
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
..
app fix: 修复报告生成时的报错,处理模型返回 None 的情况 2026-03-30 14:30:42 +08:00
scripts Add UTF-8 encoding support for Windows in simulation_runner.py and run_parallel_simulation.py to resolve character encoding issues with third-party libraries. 2025-12-26 18:14:57 +08:00
pyproject.toml fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00
requirements.txt fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00
run.py Add UTF-8 encoding support for Windows console in run.py and logger.py to prevent character encoding issues 2025-12-26 17:58:48 +08:00
uv.lock fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00