From e172c1a5da9db50ab2f4472fc4147ba1836b9c23 Mon Sep 17 00:00:00 2001 From: Leon Lam Nilsson Date: Thu, 18 Apr 2024 12:58:03 +0200 Subject: [PATCH] change base_model --- apps/api/src/crew.py | 2 +- apps/api/src/parser.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/api/src/crew.py b/apps/api/src/crew.py index d1277c95..2c8bce55 100644 --- a/apps/api/src/crew.py +++ b/apps/api/src/crew.py @@ -27,7 +27,7 @@ def __init__( session: Session, crew_model: CrewProcessed, on_message: Any | None = None, - base_model: str = "gpt-4-turbo-preview", + base_model: str = "gpt-4-turbo", seed: int = 41, ): self.seed = seed diff --git a/apps/api/src/parser.py b/apps/api/src/parser.py index 9efcf5b7..c018b499 100644 --- a/apps/api/src/parser.py +++ b/apps/api/src/parser.py @@ -24,6 +24,7 @@ key: str | None = os.environ.get("SUPABASE_ANON_KEY") if url is None or key is None: raise ValueError("SUPABASE_URL and SUPABASE_ANON_KEY must be set") + supabase: Client = create_client(url, key)