Browse Source

add commit to results

Alex Cheema 6 months ago
parent
commit
9397464fad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/bench.py

+ 1 - 0
.github/bench.py

@@ -222,6 +222,7 @@ async def measure_performance(api_endpoint: str, prompt: str, model: str) -> Dic
         'model': model,
         'run_id': os.environ.get('GITHUB_RUN_ID', 'unknown'),
         'branch': os.environ.get('GITHUB_REF_NAME', 'unknown'),
+        'commit': os.environ.get('GITHUB_SHA', 'unknown'),
         'configuration': json.loads(os.environ.get('HARDWARE_CONFIG', '{}'))
     }