浏览代码

add commit to results

Alex Cheema 4 月之前
父节点
当前提交
9397464fad
共有 1 个文件被更改,包括 1 次插入0 次删除
  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', '{}'))
     }