chore: config, layout, project history, simulation framework updates

This commit is contained in:
2026-03-02 10:15:44 -05:00
parent 0b5552fa01
commit eb293f3c96
9 changed files with 93 additions and 67 deletions

View File

@@ -10,6 +10,7 @@ class ToolsSimulation(BaseSimulation):
msg = "List the files in the current directory."
print(f"[Sim] Sending message to trigger tool: {msg}")
self.sim.run_discussion_turn(msg)
time.sleep(2)
# 2. Wait for AI to execute tool
print("[Sim] Waiting for tool execution...")
time.sleep(5) # Give it some time
@@ -21,6 +22,7 @@ class ToolsSimulation(BaseSimulation):
msg = "Read the first 10 lines of aggregate.py."
print(f"[Sim] Sending message to trigger tool: {msg}")
self.sim.run_discussion_turn(msg)
time.sleep(2)
# 5. Wait and Verify
print("[Sim] Waiting for tool execution...")
time.sleep(5)
@@ -32,7 +34,9 @@ class ToolsSimulation(BaseSimulation):
# Actually in Gemini history, they might be nested.
# But our GUI disc_entries list usually has them as separate entries or
# they are part of the AI turn.
# Let's check if the AI mentions it in its response
if not entries:
print("[Sim] ERROR: No history entries found after tool execution.")
return
last_ai_msg = entries[-1]['content']
print(f"[Sim] Final AI Response: {last_ai_msg[:100]}...")