MicroFish/backend
Flowershangfromthebranches 5ac47f412f fix: deduplicate agent IDs when profiles share the same name
_resolve_agent_id() produced identical slugs for same-named profiles
(e.g. two "Baidu" → both "baidu"), causing dropdown selection to
always hit the first match. Add _resolve_all_agent_ids() which runs
the same base resolution but appends _2, _3, … suffixes on collision,
guaranteeing every ID in the returned list is unique.

Applied across all call sites: list_agents, get_agent,
send_questionnaire, _simulation_round_structured_input,
_profiles_summary, and Web Console embedded data. JS template
mirrors the same dedup logic client-side.

105 passed, 0 failed. Provider boundary check passed.

🤖 Generated with [Qoder][https://qoder.com]
2026-06-10 09:29:40 +08:00
..
app fix: deduplicate agent IDs when profiles share the same name 2026-06-10 09:29:40 +08:00
scripts Refactor MiroFish into staged agent engine 2026-06-07 13:49:55 +08:00
tests fix: deduplicate agent IDs when profiles share the same name 2026-06-10 09:29:40 +08:00
pyproject.toml Refactor MiroFish into staged agent engine 2026-06-07 13:49:55 +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 Refactor MiroFish into staged agent engine 2026-06-07 13:49:55 +08:00