From 88d950b20b2e61fcadbb6de08780b732c09467e0 Mon Sep 17 00:00:00 2001 From: lanqian528 <5499636+lanqian528@users.noreply.github.com> Date: Wed, 26 Mar 2025 19:26:17 +0800 Subject: [PATCH] v1.8.7-beta2 update UI --- gateway/backend.py | 2 +- gateway/v1.py | 5 +++++ templates/chatgpt_context_1.json | 2 +- version.txt | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gateway/backend.py b/gateway/backend.py index 27c8817..d062554 100644 --- a/gateway/backend.py +++ b/gateway/backend.py @@ -117,7 +117,7 @@ async def get_gizmos_snorlax_upsert(request: Request): async def post_subscriptions(request: Request): return { "id": str(uuid.uuid4()), - "plan_type": "pro", + "plan_type": "free", "seats_in_use": 1, "seats_entitled": 1, "active_until": "2050-01-01T00:00:00Z", diff --git a/gateway/v1.py b/gateway/v1.py index 4b17398..94a63d6 100644 --- a/gateway/v1.py +++ b/gateway/v1.py @@ -38,3 +38,8 @@ async def ces_v1_projects_oai_settings(): @app.post("/ces/v1/{path:path}") async def ces_v1(): return Response(status_code=202, content=json.dumps({"success": True}, indent=4), media_type="application/json") + + +@app.post("/ces/statsc/flush") +async def ces_v1(): + return Response(status_code=200, content=json.dumps({"success": True}, indent=4), media_type="application/json") diff --git a/templates/chatgpt_context_1.json b/templates/chatgpt_context_1.json index 48d3bb3..549251c 100644 --- a/templates/chatgpt_context_1.json +++ b/templates/chatgpt_context_1.json @@ -107,7 +107,7 @@ }, "17904ad0-df88-4a0f-917b-501d958eceda", "planType", - "plus", + "pro", "structure", "personal", "accessToken", diff --git a/version.txt b/version.txt index ad12cd8..c488f7d 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.8.7-beta1 \ No newline at end of file +1.8.7-beta2 \ No newline at end of file