from config import DEFAULT_TEMPERATURE, DEFAULT_SYSTEM_MESSAGE class ChatState: def __init__(self): self.model = None self.temperature = DEFAULT_TEMPERATURE self.system_message = DEFAULT_SYSTEM_MESSAGE self.available_models = [] chat_state = ChatState()