From d2daf0ce15071a73102739033bba1834f41a8788 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 12:21:14 +0000 Subject: [PATCH 1/3] Initial plan From 30d8c6e72ea831765d917342318168a71939b4aa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 12:25:46 +0000 Subject: [PATCH 2/3] Fix Flutter web build: add vercel.json and .env.example to resolve missing .env asset Co-authored-by: harshwardhan-kp <181504774+harshwardhan-kp@users.noreply.github.com> --- vercel.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..3b4b7ee --- /dev/null +++ b/vercel.json @@ -0,0 +1,6 @@ +{ + "installCommand": "if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter doctor && flutter/bin/flutter clean && flutter/bin/flutter config --enable-web", + "buildCommand": "[ -n \"${GROQ_APIKEY}\" ] || { echo \"Error: GROQ_APIKEY environment variable is not set\"; exit 1; } && echo \"GROQ_APIKEY=${GROQ_APIKEY}\" > .env && flutter/bin/flutter build web --release", + "outputDirectory": "build/web", + "framework": null +} From 2d3616ae13ea090e87109b789fdf8bb3d0c343e8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 12:26:17 +0000 Subject: [PATCH 3/3] Add .env.example template and fix .gitignore to allow it Co-authored-by: harshwardhan-kp <181504774+harshwardhan-kp@users.noreply.github.com> --- .env.example | 1 + .gitignore | 1 + 2 files changed, 2 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..6cb96b1 --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +GROQ_APIKEY=your_groq_api_key_here diff --git a/.gitignore b/.gitignore index 9cb93f8..9973fb2 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ macos/Flutter/ephemeral/ .env *.env *.env.* +!.env.example