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.
A blog devoted to challenging dogma, where ever and who ever is shoveling it.
Monday, August 12, 2024
Security upgrade. Added the ability to access environmental variables with proc agents.
Subscribe to:
Post Comments (Atom)
It is mathematically possible for Democrats to gain a majority before the midterms.
It is mathematically possible for Democrats to gain significant power or even take a technical "majority" if enough Republicans re...
-
The tent smelled of ozone, sawdust, and cheap miracles. On a rickety stage, a man named Constantine adjusted the frayed cuffs of his tuxedo...
-
First the bad news. For som e reason the Amazon Web S ervice console was running very badly under F irefox. It was taking forever to load a...
-
So, I saw this kit on Amazon. It seemed too good too be true. The kit was priced right, it was less than 2 dollars for each board. Of co...
No comments:
Post a Comment