fixed issues

This commit is contained in:
OwusuBlessing
2025-08-18 14:43:03 +01:00
parent bbc94dfcc0
commit 3e7a300eef
5 changed files with 25 additions and 43 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
# terminal_chat.py
from src.llm.orchestrator import DroneBot, Message # Adjust import path as needed
import json
def terminal_chat():
print("🚁 DroneBot Terminal Chat")
print("Type 'exit' to quit.\n")
@@ -37,7 +37,8 @@ def terminal_chat():
history.append(Message(role="ai", content=response["final_message"]))
# Print bot response
print(f"🤖 DroneBot: {response['final_message']}\n")
response_json = json.loads(response["final_message"])
print(f"🤖 DroneBot: {response_json}\n")
if __name__ == "__main__":