Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix f-string get_data_from_helicone.py (#223)

Justin Torre3a32adbce52d
diff --git a/agbenchmark/utils/get_data_from_helicone.py b/agbenchmark/utils/get_data_from_helicone.py
index 1fa6e0e48b..754a13418a 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 = """