From 3a32adbce52d5514de758d2f0f7afc94a45c3a3f Mon Sep 17 00:00:00 2001 From: Justin Torre Date: Mon, 31 Jul 2023 09:06:04 -0700 Subject: [PATCH] Fix f-string get_data_from_helicone.py (#223) --- agbenchmark/utils/get_data_from_helicone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agbenchmark/utils/get_data_from_helicone.py b/agbenchmark/utils/get_data_from_helicone.py index 1fa6e0e4..754a1341 100644 --- a/agbenchmark/utils/get_data_from_helicone.py +++ b/agbenchmark/utils/get_data_from_helicone.py @@ -12,7 +12,7 @@ def get_data_from_helicone(challenge: str) -> Optional[float]: url = "https://www.helicone.ai/api/graphql" # Set the headers, usually you'd need to set the content type and possibly an authorization token - headers = {"authorization": "Bearer {os.environ.get('HELICONE_API_KEY')}"} + headers = {"authorization": f"Bearer {os.environ.get('HELICONE_API_KEY')}"} # Define the query, variables, and operation name query = """