MicroFish/backend/scripts
Ubuntu 2aa44760d1 feat(f2a-b): step02/03 UX overhaul, Azure OpenAI fix, offline report interviews
Step 02/03 UX:
- Remove duplicate simulation params (total_hours, minutes_per_round) from Fase B form
- Add following_probability + recsys_type to step 03 config panel instead
- Step 03 now read-only by default with Edit / Save toolbar toggle
- Add common.edit and log.configSaved i18n keys to all 4 locales

Backend - Azure OpenAI fix (run_parallel_simulation.py):
- create_model() now detects Azure URLs (cognitiveservices.azure.com / openai.azure.com)
  and uses ModelPlatformType.AZURE with AzureOpenAIModel, passing api_version and
  azure_deployment_name explicitly — fixes 404 "Resource not found" from camel-ai

Backend - offline report interviews (simulation_runner.py):
- interview_agents_batch() falls back to _offline_batch_interview() when OASIS env is
  closed (simulation finished), reading posts from SQLite DB instead of failing with
  "No successful interviews / check OASIS environment status"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 23:20:41 +00:00
..
action_logger.py Enhance simulation management and logging features 2025-12-02 17:11:47 +08:00
run_parallel_simulation.py feat(f2a-b): step02/03 UX overhaul, Azure OpenAI fix, offline report interviews 2026-05-04 23:20:41 +00:00
run_reddit_simulation.py fix(simulation): guarantee SQLite connection close with finally block 2026-04-26 14:56:52 +00:00
run_twitter_simulation.py fix(simulation): guarantee SQLite connection close with finally block 2026-04-26 14:56:52 +00:00
test_profile_format.py Enhance backend functionality with OASIS simulation features 2025-12-01 15:03:44 +08:00