From a22b44eb87baddb6e57f4720d137fff4ade879cf Mon Sep 17 00:00:00 2001 From: Paul Swingle Date: Fri, 16 Feb 2024 16:59:55 -0800 Subject: [PATCH] add /v1 to api base url --- src/rawdog/llm_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rawdog/llm_client.py b/src/rawdog/llm_client.py index 518a769..3418654 100644 --- a/src/rawdog/llm_client.py +++ b/src/rawdog/llm_client.py @@ -92,7 +92,7 @@ def get_script(self, prompt: Optional[str] = None, stream=False): "cost": None, } if is_finetuned_model(model): - base_url = "https://api.mentat.ai" + base_url = "https://api.mentat.ai/v1" custom_llm_provider = "openai" try: response = completion(