in chat.py [0:0]
def display_thoughts_and_data_points(response_data):
"""
Display the thoughts and data_points from the API response.
Args:
response_data (dict): The API response as a JSON object.
"""
thoughts = response_data.get('thoughts', '')
reasoning = response_data.get('reasoning', '')
data_points = response_data.get('data_points', '')
if thoughts or data_points or reasoning:
BRIGHT_CYAN = '\033[96m'
RESET = '\033[0m'
print(f"{BRIGHT_CYAN}\n--- Agent Group Chat from Last Response ---")
if data_points:
print("\nReasoning:")
print(reasoning)
if thoughts:
print("\nThoughts:")
print(thoughts)
if data_points:
print("\nData Points:")
print(data_points)
print("---------------------------------------------------\n")
print(f"{RESET}")
else:
logger.info("No thoughts or data points in the last response.")