SYMBOL INDEX (43 symbols across 2 files) FILE: reasoning.py class ColoredFormatter (line 25) | class ColoredFormatter(logging.Formatter): method format (line 42) | def format(self, record): function append_session_record (line 105) | def append_session_record(file_path: str, record: dict): function append_reasoning_history (line 130) | def append_reasoning_history(record: dict): function append_swarm_history (line 134) | def append_swarm_history(record: dict): function load_reasoning_history_for_context (line 138) | def load_reasoning_history_for_context(max_records=5, search_keywords=No... function load_swarm_history_for_context (line 181) | def load_swarm_history_for_context(max_records=5, search_keywords=None): function get_local_context_for_prompt (line 219) | def get_local_context_for_prompt(user_prompt, is_swarm=False, max_record... function load_agents_config (line 259) | def load_agents_config(): function get_shared_system_message (line 280) | def get_shared_system_message(): class Agent (line 321) | class Agent: method __init__ (line 332) | def __init__(self, color, **kwargs): method _add_message (line 352) | def _add_message(self, role, content, mode='reasoning'): method _handle_reasoning_logic (line 380) | def _handle_reasoning_logic(self, prompt): method _handle_chat_interaction (line 451) | def _handle_chat_interaction(self, user_message): method discuss (line 525) | def discuss(self, prompt): method verify (line 537) | def verify(self, data): method refine (line 550) | def refine(self, data, more_time=False, iterations=2): method critique (line 576) | def critique(self, other_agent_response): method ask_other_agent (line 593) | def ask_other_agent(self, other_agent, question): function initialize_agents (line 612) | def initialize_agents(): function blend_responses (line 687) | def blend_responses(agent_responses, user_prompt): function print_divider (line 746) | def print_divider(char="═", length=100, color=Fore.YELLOW): function print_header (line 752) | def print_header(title, color=Fore.YELLOW): function process_agent_action (line 761) | def process_agent_action(agent, action, *args, **kwargs): function handle_special_commands (line 795) | def handle_special_commands(user_input, agents): function chat_with_agents (line 829) | def chat_with_agents(agents): function reasoning_logic (line 885) | def reasoning_logic(agents): function save_reasoning_session (line 1082) | def save_reasoning_session(user_prompt, final_response, user_feedback, c... function swarm_reasoning_feedback (line 1106) | def swarm_reasoning_feedback(user_prompt, final_response): function save_swarm_session (line 1148) | def save_swarm_session(user_prompt, final_response, user_feedback, conte... function main_menu (line 1172) | def main_menu(): FILE: swarm_middle_agent.py class ColoredFormatter (line 16) | class ColoredFormatter(logging.Formatter): method format (line 32) | def format(self, record): function initialize_swarm_client (line 68) | def initialize_swarm_client(): function load_agents_config (line 91) | def load_agents_config(): function print_divider (line 114) | def print_divider(char="═", length=100, color=Fore.YELLOW): function print_header (line 125) | def print_header(title, color=Fore.YELLOW): function initialize_swarm_agents (line 142) | def initialize_swarm_agents(): function run_swarm_reasoning (line 218) | def run_swarm_reasoning(user_prompt): function blend_responses (line 309) | def blend_responses(agent_responses, user_prompt): function get_agent_color (line 375) | def get_agent_color(agent_name): function swarm_middle_agent_interface (line 396) | def swarm_middle_agent_interface(user_prompt):