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.
helicone push 2
Silen Naihindb49e8de152c
diff --git a/agbenchmark/utils/get_data_from_helicone.py b/agbenchmark/utils/get_data_from_helicone.pyindex db823a588b..f6e43e5696 100644--- a/agbenchmark/utils/get_data_from_helicone.py+++ b/agbenchmark/utils/get_data_from_helicone.py@@ -60,6 +60,8 @@ query ExampleQuery($properties: [PropertyFilter!]){except Exception as err:print(f"Other error occurred: {err}")else:+ if not data:+ raise Exception("No data returned from Helicone")return (data.get("data", {}).get("aggregatedHeliconeRequest", {}).get("cost", None))