Feat/backend english conversion 20260329#378
Closed
anurag-ay wants to merge 13 commits into666ghj:mainfrom
Closed
Conversation
added 13 commits
March 26, 2026 05:00
Owner
|
The project already has i18n support in place — please refer to [PR #428] for reference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR converts the remaining backend Chinese text to English across the report-generation and simulation pipeline.
The goal is to make generated content, prompts, API responses, logs, and runner output consistently English-first, while keeping compatibility where older Chinese-formatted data may still be parsed.
What Changed
backend/source filesMain Areas Updated
Report generation:
backend/app/services/report_agent.pybackend/app/services/zep_tools.pybackend/app/api/report.pySimulation pipeline:
backend/app/api/simulation.pybackend/app/services/ontology_generator.pybackend/app/services/simulation_config_generator.pybackend/app/services/oasis_profile_generator.pybackend/app/services/simulation_runner.pyShared backend/runtime cleanup:
backend/app/__init__.pybackend/app/config.pybackend/app/services/graph_builder.pybackend/app/services/graph_provider/zep_cloud_provider.pybackend/app/services/simulation_ipc.pybackend/app/services/simulation_manager.pybackend/app/services/zep_entity_reader.pybackend/app/services/zep_graph_memory_updater.pybackend/app/utils/file_parser.pybackend/app/utils/llm_client.pybackend/app/utils/retry.pybackend/run.pyBackend scripts:
backend/scripts/run_parallel_simulation.pybackend/scripts/run_reddit_simulation.pybackend/scripts/run_twitter_simulation.pybackend/scripts/test_profile_format.pyVerification
rg -n --pcre2 "[\\p{Han}]" backend --glob '!backend/uv.lock' --glob '!backend/.venv/**' --glob '!backend/uploads/**'python3 -m py_compile ...Notes