From 2ef699600ef895d6c5ce977b81e94e358e8a1d4e Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Wed, 26 Feb 2025 04:36:06 +0000 Subject: [PATCH] idk formatting im just procrastinating because i dont think i want to start making the client --- server/inference.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/inference.py b/server/inference.py index ca99c34..eed4356 100644 --- a/server/inference.py +++ b/server/inference.py @@ -4,6 +4,8 @@ from .tid import tid_now import json db = sqlite_utils.Database(llm.cli.logs_db_path()) +girlypop_prompt = llm.cli.load_template("girlypop").system + async def list_conversations(request: Request): conversations = [] @@ -11,7 +13,6 @@ async def list_conversations(request: Request): conversations.append({ "id": row["id"], "name": row["name"] }) return JSONResponse(conversations) -girlypop_prompt = llm.cli.load_template("girlypop").system async def connect_to_conversation(ws: WebSocket): continuing = bool(ws.query_params["continue"])