From db1c00bd8d10064cd529dc975d6caa0bf53181bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E9=9B=A8?= Date: Mon, 29 Sep 2025 11:22:56 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=A2=9E=E5=8A=A0=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_service.py b/main_service.py index 4ee7fbe..7e014bd 100644 --- a/main_service.py +++ b/main_service.py @@ -69,7 +69,7 @@ vn = create_vana() app = VannaFlaskApp(vn,chart=False) init_vn(vn) cache = app.cache -@app.flask_app.route("/api/v0/generate_sql_2", methods=["GET"]) +@app.flask_app.route("/yj_sqlbot/api/v0/generate_sql_2", methods=["GET"]) def generate_sql_2(): """ Generate SQL from a question @@ -117,7 +117,7 @@ def generate_sql_2(): -@app.flask_app.route("/api/v0/run_sql_2", methods=["GET"]) +@app.flask_app.route("/yj_sqlbot/api/v0/run_sql_2", methods=["GET"]) @app.requires_cache(["sql"]) def run_sql_2(id: str, sql: str): """