MicroFish/backend/app
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
..
adapters Add agent web interaction console 2026-06-10 08:34:28 +08:00
agent_engine fix: deduplicate agent IDs when profiles share the same name 2026-06-10 09:29:40 +08:00
api Add agent web interaction console 2026-06-10 08:34:28 +08:00
mcp_server Add agent web interaction console 2026-06-10 08:34:28 +08:00
models feat(i18n): replace hardcoded Chinese in backend SSE progress messages 2026-04-01 16:32:10 +08:00
services Refactor MiroFish into staged agent engine 2026-06-07 13:49:55 +08:00
utils Refactor MiroFish into staged agent engine 2026-06-07 13:49:55 +08:00
__init__.py Add agent web interaction console 2026-06-10 08:34:28 +08:00
config.py Refactor MiroFish into staged agent engine 2026-06-07 13:49:55 +08:00