refactor(sdm): Global pass with refined 'External Only' SDM tags. Pruned redundant internal references and fixed indentation logic in injector. Verified full project compilation.
This commit is contained in:
@@ -11,13 +11,14 @@ from src import ai_client
|
||||
|
||||
def test_system_prompt_sim(live_gui):
|
||||
"""
|
||||
Simulation test for system prompt settings.
|
||||
1. Wait for server.
|
||||
2. Verify initial state.
|
||||
3. Modify settings via API.
|
||||
4. Verify updates.
|
||||
5. Use 'Reset to Default' button via API.
|
||||
6. Verify restoration to default text.
|
||||
|
||||
Simulation test for system prompt settings.
|
||||
1. Wait for server.
|
||||
2. Verify initial state.
|
||||
3. Modify settings via API.
|
||||
4. Verify updates.
|
||||
5. Use 'Reset to Default' button via API.
|
||||
6. Verify restoration to default text.
|
||||
"""
|
||||
_, gui_script = live_gui
|
||||
client = ApiHookClient()
|
||||
@@ -70,4 +71,4 @@ def test_system_prompt_sim(live_gui):
|
||||
|
||||
# Close it
|
||||
client.set_value('show_base_prompt_diff_modal', False)
|
||||
assert client.get_value('show_base_prompt_diff_modal') is False
|
||||
assert client.get_value('show_base_prompt_diff_modal') is False
|
||||
Reference in New Issue
Block a user