Skip to content

Commit

Permalink
add max concurrency oai
Browse files Browse the repository at this point in the history
  • Loading branch information
YannDubs committed Sep 1, 2023
1 parent fe69a90 commit c6cc2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alpaca_eval/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
OPENAI_ORGANIZATION_IDS = os.environ.get("OPENAI_ORGANIZATION_IDS", None)
if isinstance(OPENAI_ORGANIZATION_IDS, str):
OPENAI_ORGANIZATION_IDS = OPENAI_ORGANIZATION_IDS.split(",")
OPENAI_MAX_CONCURRENCY = int(os.environ.get("ANTHROPIC_MAX_CONCURRENCY", 5))
OPENAI_MAX_CONCURRENCY = int(os.environ.get("OPENAI_MAX_CONCURRENCY", 5))

ANTHROPIC_API_KEY = os.environ.get("ANTHROPIC_API_KEY", None)
ANTHROPIC_MAX_CONCURRENCY = int(os.environ.get("ANTHROPIC_MAX_CONCURRENCY", 1))
Expand Down

0 comments on commit c6cc2be

Please sign in to comment.