Sharing image agent does not work #7193
-
When sharing an agent that has an image tool attached, like "dalle-3" or "OpenAI Image Tools" other users can't generate images with it. But the person that creates it can use it just fine. I don't want to send the API Key around, so it would be cool if sharing would work. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The user has to create an agent with the same tool, where they can input their API key for the same tools. Then, using your shared agent with the same tools will work. I'm aware the UX for this should be improved. The user should be prompted to input their key for the tool to work, either when the Agent invokes the tool or even when starting to use the Agent. |
Beta Was this translation helpful? Give feedback.
-
Well in my case we just have a central api key and we don't want to share them with every user, so I guess it does currently not work, if I understand you correctly. Or in other words we would need to share the agent including the key |
Beta Was this translation helpful? Give feedback.
-
@notdefine I noticed that you can just set the key in the env file. |
Beta Was this translation helpful? Give feedback.
@notdefine I noticed that you can just set the key in the env file.
Just set IMAGE_GEN_OAI_API_KEY there