Spaces:
Runtime error

Macbath commited on
Commit
1419496
·
1 Parent(s): d3f2aa9

fix: 修复_truncate_and_close_json从零构建JSON,避免无效前缀

Browse files

- modeling_agent.py: 重构JSON时不再使用cleaned[:schemes_match.start()]
- recommendation_agent.py: 同样修复indicators匹配的前缀问题
- 防止修复后的JSON以非法字符开头

2 files changed +4 -3
Files changed (2)
agents/modeling_agent.py+2-2
agents/recommendation_agent.py+2-1