MicroFish/backend/app/api
karesansui aaf3ea0a09 Fix silent data loss when platform defaults to reddit for Twitter-only simulations
The API retrieval layer hardcoded reddit as the default platform in 11+ locations. When a Twitter-only simulation was run, all data retrieval APIs silently returned empty results because they looked for reddit_simulation.db which did not exist. This commit reads the simulation enable_twitter/enable_reddit config to determine the correct default platform.

Fixes #150
2026-07-22 19:45:30 +08:00
..
__init__.py Implement Report Agent for automated report generation and interaction 2025-12-09 15:10:55 +08:00
graph.py Merge pull request #305: fix graph tasks endpoint crash 2026-07-22 19:39:57 +08:00
report.py fix(i18n): pass locale to background threads via thread-local storage 2026-04-01 16:55:51 +08:00
simulation.py Fix silent data loss when platform defaults to reddit for Twitter-only simulations 2026-07-22 19:45:30 +08:00