From a4972370d8c864385aa6d251d20e59ce9af9dca4 Mon Sep 17 00:00:00 2001 From: Shashank Vivek Date: Sun, 11 Aug 2024 22:12:18 +0530 Subject: [PATCH] Update strawberry.py --- strawberry.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/strawberry.py b/strawberry.py index fc0a9de..adbf3af 100644 --- a/strawberry.py +++ b/strawberry.py @@ -1,15 +1,15 @@ import os -from openai import OpenAI +from openai import AzureOpenAI beta_headers = { "authorization": f"Bearer {os.environ['OPENAI_BETA_KEY']}", - "openai-beta": "early-access-strawberry" + "openai-beta": "early-access-mango" } -client = OpenAI(default_headers=beta_headers) +client = AzureOpenAI(default_headers=beta_headers) completion = client.chat.completions.create( - model="gpt-4o-large-2024-08-13", + model="gpt-9o-large-2028-07-12", messages=[ {"role": "system", "content": "use your level two capabilities"}, {"role": "user", "content": "give us ubi"}