From 473864297eb3ab901f656512d195b1b32b35b88a Mon Sep 17 00:00:00 2001 From: BrunoV21 Date: Tue, 26 Aug 2025 20:58:21 +0100 Subject: [PATCH 1/4] mapped DEMO_BASE_URL from env var --- examples/hf_demo_space/api.py | 6 +++++- examples/hf_demo_space/static/landing_page.html | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/hf_demo_space/api.py b/examples/hf_demo_space/api.py index 23aef67..d6da428 100644 --- a/examples/hf_demo_space/api.py +++ b/examples/hf_demo_space/api.py @@ -17,7 +17,11 @@ @app.get("/", response_class=HTMLResponse) async def landing_page(request: Request): """Serve the AgentTide landing page""" - return templates.TemplateResponse("landing_page.html", {"request": request}) + demo_base_url = os.getenv("DEMO_BASE_URL", "http://localhost:8000") + return templates.TemplateResponse( + "landing_page.html", + {"request": request, "DEMO_BASE_URL": demo_base_url} + ) @app.get("/health") async def health_check(): diff --git a/examples/hf_demo_space/static/landing_page.html b/examples/hf_demo_space/static/landing_page.html index 3667023..5785c51 100644 --- a/examples/hf_demo_space/static/landing_page.html +++ b/examples/hf_demo_space/static/landing_page.html @@ -555,7 +555,7 @@

AI Agents for Smarter Codebases

@@ -651,7 +651,7 @@

Getting Started

We do not persist any data regarding Git repositories or API keys - everything stays local and private.

- Try Now + Try Now

© 2025 AgentTide. Built with CodeTide. Licensed under Apache 2.0.

From 76f278d0a7992878fff18763aeb759da38ae02ae Mon Sep 17 00:00:00 2001 From: BrunoV21 Date: Tue, 26 Aug 2025 20:59:03 +0100 Subject: [PATCH 2/4] typo fix --- examples/hf_demo_space/static/landing_page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hf_demo_space/static/landing_page.html b/examples/hf_demo_space/static/landing_page.html index 5785c51..6f4e34a 100644 --- a/examples/hf_demo_space/static/landing_page.html +++ b/examples/hf_demo_space/static/landing_page.html @@ -555,7 +555,7 @@

AI Agents for Smarter Codebases

From 5913c9dbafd4718ef44a9addfb50ebac5394fc55 Mon Sep 17 00:00:00 2001 From: BrunoV21 Date: Tue, 26 Aug 2025 21:02:48 +0100 Subject: [PATCH 3/4] typoe fix --- examples/hf_demo_space/static/landing_page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hf_demo_space/static/landing_page.html b/examples/hf_demo_space/static/landing_page.html index 6f4e34a..d66f953 100644 --- a/examples/hf_demo_space/static/landing_page.html +++ b/examples/hf_demo_space/static/landing_page.html @@ -651,7 +651,7 @@

Getting Started

We do not persist any data regarding Git repositories or API keys - everything stays local and private.

© 2025 AgentTide. Built with CodeTide. Licensed under Apache 2.0.

From 785439e57c88f13d4a5e106f890fe32f7dc0e894 Mon Sep 17 00:00:00 2001 From: BrunoV21 Date: Tue, 26 Aug 2025 21:05:09 +0100 Subject: [PATCH 4/4] updated --- examples/hf_demo_space/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hf_demo_space/api.py b/examples/hf_demo_space/api.py index d6da428..9d5a3ae 100644 --- a/examples/hf_demo_space/api.py +++ b/examples/hf_demo_space/api.py @@ -17,7 +17,7 @@ @app.get("/", response_class=HTMLResponse) async def landing_page(request: Request): """Serve the AgentTide landing page""" - demo_base_url = os.getenv("DEMO_BASE_URL", "http://localhost:8000") + demo_base_url = os.getenv("DEMO_BASE_URL", "") return templates.TemplateResponse( "landing_page.html", {"request": request, "DEMO_BASE_URL": demo_base_url}