Monday, August 12, 2024

Security upgrade. Added the ability to access environmental variables with proc agents.

So now you can export api keys as environmental variables and the Dynamic AI Agent Workflow program can use them without storing the key in the config file. You just prefix the name of the environmental variable with ENV_ and it automagically gets converted when the function is executed. The environmental variables are only recovered just before they are used in the dynamic function, and because they are local, they vanish when the function returns. 

This is an example of how I removed the groq api key out of my config file for the program.





No comments:

Post a Comment