MCPcopy Create free account
hub / github.com/Re-Align/just-eval / __init__

Method __init__

just_eval/utils.py:23–25  ·  view source on GitHub ↗
(self, model_name)

Source from the content-addressed store, hash-verified

21class OpenAIModelManager:
22
23 def __init__(self, model_name):
24 self.model_name = model_name
25 assert openai.api_key is not None
26
27 def infer_generate(self, input_text, max_tokens=2048):
28 output = completion_with_backoff(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected