diff --git a/runtime/prompty/prompty/openai/executor.py b/runtime/prompty/prompty/openai/executor.py index cf6da8a0..adcfb021 100644 --- a/runtime/prompty/prompty/openai/executor.py +++ b/runtime/prompty/prompty/openai/executor.py @@ -26,8 +26,7 @@ def __init__(self, prompty: Prompty) -> None: self.api = self.prompty.model.api self.parameters = self.prompty.model.parameters - self.model = self.prompty.model.configuration["name"] - self.deployment = self.prompty.model.configuration["deployment"] + self.model = self.prompty.model.configuration["name"] def invoke(self, data: typing.Any) -> typing.Any: """Invoke the OpenAI API