Ollama_test / chat_state.py
xtreme86's picture
Upload folder using huggingface_hub
5e1f2b6 verified
raw
history blame contribute delete
291 Bytes
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()