JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
fix: correct typos found by typos scan
renquanjia10ef10ddf2ed
diff --git a/docs/en/SlashCommands.md b/docs/en/SlashCommands.mdindex 9bfe88d60c..270d38164d 100644--- a/docs/en/SlashCommands.md+++ b/docs/en/SlashCommands.md@@ -374,7 +374,7 @@ These commands are registered and parsed by the TUI, then forwarded as slash tex- `both` → `session.rewind_and_restore`- `conversation` → `session.rewind`- `code` → `session.restore_files`-- After rewind: TUI clears the transcript and reloads history; if the rewinded content contains user input, it is automatically filled into the input box.+- After rewind: TUI clears the transcript and reloads history; if the rewound content contains user input, it is automatically filled into the input box.- Limitation: Rewinding does not affect files edited manually or via bash commands.- Examples:- `/rewind` — Interactive turn selection and restore mode confirmationdiff --git a/jiuwenswarm/gateway/message_handler/prompts/security_review_prompt.py b/jiuwenswarm/gateway/message_handler/prompts/security_review_prompt.pyindex a4753c13da..832c478cc9 100644--- a/jiuwenswarm/gateway/message_handler/prompts/security_review_prompt.py+++ b/jiuwenswarm/gateway/message_handler/prompts/security_review_prompt.py@@ -118,7 +118,7 @@ SECURITY CATEGORIES TO EXAMINE:- Certificate validation bypasses**Injection & Code Execution:**-- Remote code execution via deseralization+- Remote code execution via deserialization- Pickle injection in Python- YAML deserialization vulnerabilities- Eval injection in dynamic code executiondiff --git a/tests/unit_tests/test_models_replace_all_merge.py b/tests/unit_tests/test_models_replace_all_merge.pyindex c3f9d6ed64..2fd46263d2 100644--- a/tests/unit_tests/test_models_replace_all_merge.py+++ b/tests/unit_tests/test_models_replace_all_merge.py@@ -261,7 +261,7 @@ def test_origin_index_out_of_range_falls_back_to_new_entry():assert out[0]["model_client_config"]["api_base"] == "https://api.example.com"-def test_reordering_two_entries_keeps_each_entrys_placeholders():+def test_reordering_two_entries_keeps_each_entries_placeholders():"""User drags entry B above A; no field values change. Both placeholders survive."""raw_a = {"model_client_config": {