Skip to content

Commit 78b4ab0

Browse files
author
root
committed
fix EVAL_PROXY setup
1 parent ea6b3e0 commit 78b4ab0

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def main():
491491
# Setup the proxy for the evaluation
492492
eval_proxy = os.environ.get('EVAL_PROXY', None)
493493
old_proxy = os.environ.get('HTTP_PROXY', '')
494-
if eval_proxy is not None:
494+
if eval_proxy :
495495
proxy_set(eval_proxy)
496496

497497
env_backup = {}

scieval/dataset/AstroVisBench/vis_eval_helper.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@
1919
from openai import OpenAI
2020

2121
prompts_csv = 'scieval/dataset/AstroVisBench/viseval_prompts.csv'
22-
model = "claude-sonnet-4-5-20250929"
23-
client = aclient = OpenAI(
24-
base_url="https://api.boyuerichdata.opensphereai.com/v1", # 确保这里以 /v1 结尾
25-
api_key=os.getenv("BOYUE_API_KEY")
26-
)
22+
2723

2824

2925
def safe_parse_json_from_claude(text):

0 commit comments

Comments
 (0)