From 9e1898727d356430705335cc4e0bfaff5011c5e1 Mon Sep 17 00:00:00 2001 From: Chris Chou Date: Sat, 5 Jul 2025 15:30:45 +1200 Subject: [PATCH] fix: unable to use Gemini free Apikey --- backend/examples/cli_research.py | 2 +- frontend/src/components/InputForm.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/examples/cli_research.py b/backend/examples/cli_research.py index a086496b..fc6718d0 100644 --- a/backend/examples/cli_research.py +++ b/backend/examples/cli_research.py @@ -21,7 +21,7 @@ def main() -> None: ) parser.add_argument( "--reasoning-model", - default="gemini-2.5-pro-preview-05-06", + default="gemini-2.5-pro", help="Model for the final answer", ) args = parser.parse_args() diff --git a/frontend/src/components/InputForm.tsx b/frontend/src/components/InputForm.tsx index 97aa5c67..ba23f7da 100644 --- a/frontend/src/components/InputForm.tsx +++ b/frontend/src/components/InputForm.tsx @@ -26,7 +26,7 @@ export const InputForm: React.FC = ({ }) => { const [internalInputValue, setInternalInputValue] = useState(""); const [effort, setEffort] = useState("medium"); - const [model, setModel] = useState("gemini-2.5-flash-preview-04-17"); + const [model, setModel] = useState("gemini-2.5-flash"); const handleInternalSubmit = (e?: React.FormEvent) => { if (e) e.preventDefault(); @@ -144,7 +144,7 @@ export const InputForm: React.FC = ({
@@ -152,7 +152,7 @@ export const InputForm: React.FC = ({