Skip to content

Commit

Permalink
added tool config for dalle
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarraann committed Aug 30, 2023
1 parent 7118e79 commit 2d67c9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions superagi/tools/image_generation/image_generation_toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def get_tools(self) -> List[BaseTool]:

def get_env_keys(self) -> List[ToolConfiguration]:
return [
ToolConfiguration(key="STABILITY_API_KEY", key_type=ToolConfigKeyType.STRING, is_required= True, is_secret = True),
ToolConfiguration(key="ENGINE_ID", key_type=ToolConfigKeyType.STRING, is_required=False, is_secret=False)
ToolConfiguration(key="STABILITY_API_KEY", key_type=ToolConfigKeyType.STRING, is_required= False, is_secret = True),
ToolConfiguration(key="ENGINE_ID", key_type=ToolConfigKeyType.STRING, is_required=False, is_secret=False),
ToolConfiguration(key= "OPENAI API KEY", key_type=ToolConfigKeyType.STRING, is_required=False, is_secret=True),
]

0 comments on commit 2d67c9e

Please sign in to comment.