fixed issues
This commit is contained in:
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user