CodeInterpreterTool and ingesting environment variable for docker container #1717
andrewn3
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be useful if this tool could accept an file containing environment variables and map as environment variables when starting the docker container. e.g. --env-file .toolenv
e.g. If you have certain API keys which are needed by any custom tools, or code written on the fly it's better to have these stored in a .
.env file (obviously not the .env used by crewai as this may pose a security risk). these environment variables can then be accessible inside the docker container. I noticed if you write code on the fly and pass these keys in the ask to the LLM (obviously bad practice but just for testing purposes) some LLMs will obfuscate them so then the code won't work.
Unless there is a recommended pattern in crewai for handling the scenario of passing password/keys into custom tools.
Beta Was this translation helpful? Give feedback.
All reactions