Skip to content

Commit cbc418b

Browse files
cursoragentdhuang
andcommitted
Remove unused User-Agent header from RewardFunction
Co-authored-by: dhuang <dhuang@fireworks.ai>
1 parent a1e8fed commit cbc418b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

eval_protocol/reward_function.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
import requests
1111

12-
from .common_utils import get_user_agent
1312
from .models import EvaluateResult, MetricResult
1413
from .typed_interface import reward_function
1514

@@ -212,7 +211,6 @@ def __call__(
212211
headers = {
213212
"Content-Type": "application/json",
214213
"Authorization": f"Bearer {api_key}" if api_key else "",
215-
"User-Agent": get_user_agent(),
216214
}
217215

218216
try:

0 commit comments

Comments
 (0)