mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-26 18:34:23 +01:00
helicone push 2
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user