Skip to content

Commit

Permalink
CyberSecEval: formatting BE
Browse files Browse the repository at this point in the history
Summary: new black suggests this change. Hopefully this one can resolve our CI complaints.

Reviewed By: mbhatt1

Differential Revision: D56533268

fbshipit-source-id: c3b9f93d594343d464a5f6ebfb65f7927ebcda54
  • Loading branch information
SimonWan authored and facebook-github-bot committed Apr 24, 2024
1 parent 9b864b8 commit 0a7b67a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CybersecurityBenchmarks/benchmark/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ class ANYSCALE(LLM):

def __init__(self, model: str, api_key: str) -> None:
super().__init__(model, api_key)
self.client = openai.OpenAI(base_url="https://api.endpoints.anyscale.com/v1", api_key=api_key) # noqa
self.client = openai.OpenAI(
base_url="https://api.endpoints.anyscale.com/v1", api_key=api_key
)

@override
def query(
Expand Down

0 comments on commit 0a7b67a

Please sign in to comment.