Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-bernstein committed Apr 2, 2024
1 parent 1a862d6 commit 35627d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions adala/runtimes/_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ class OpenAIChatRuntime(Runtime):
max_tokens: Maximum number of tokens to generate. Defaults to 1000.
"""

class Config:
arbitrary_types_allowed = True # for @computed_field
model_config = COnfigDict(arbitrary_types_allowed=True) # for @computed_field

openai_model: str = Field(alias="model")
openai_api_key: Optional[str] = Field(
Expand Down

0 comments on commit 35627d7

Please sign in to comment.