浏览代码

add branch name to results

Alex Cheema 9 月之前
父节点
当前提交
23158a42ad
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/bench.py

+ 1 - 0
.github/bench.py

@@ -23,6 +23,7 @@ async def measure_performance(api_endpoint: str, prompt: str, model: str) -> Dic
     results = {
         'model': model,
         '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', '{}'))
     }