1
0
Эх сурвалжийг харах

add branch name to results

Alex Cheema 9 сар өмнө
parent
commit
23158a42ad

+ 1 - 0
.github/bench.py

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