chore: config, layout, project history, simulation framework updates
This commit is contained in:
@@ -6,11 +6,10 @@ from simulation.sim_base import BaseSimulation, run_sim
|
||||
class ContextSimulation(BaseSimulation):
|
||||
def run(self) -> None:
|
||||
print("\n--- Running Context & Chat Simulation ---")
|
||||
# 1. Test Discussion Creation
|
||||
disc_name = f"TestDisc_{int(time.time())}"
|
||||
print(f"[Sim] Creating discussion: {disc_name}")
|
||||
self.sim.create_discussion(disc_name)
|
||||
time.sleep(1)
|
||||
# 1. Skip Discussion Creation, use 'main'
|
||||
print("[Sim] Using existing 'main' discussion")
|
||||
self.sim.switch_discussion("main")
|
||||
time.sleep(1.5)
|
||||
# Verify it's in the list
|
||||
session = self.client.get_session()
|
||||
# The session structure usually has discussions listed somewhere, or we can check the listbox
|
||||
@@ -47,6 +46,7 @@ class ContextSimulation(BaseSimulation):
|
||||
msg = "What is the current date and time? Answer in one sentence."
|
||||
print(f"[Sim] Sending message: {msg}")
|
||||
self.sim.run_discussion_turn(msg)
|
||||
time.sleep(10)
|
||||
# 4. Verify History
|
||||
print("[Sim] Verifying history...")
|
||||
session = self.client.get_session()
|
||||
|
||||
Reference in New Issue
Block a user