Feat/add yaml secrets var#14
Conversation
d3bb8a7 to
aa968cd
Compare
There was a problem hiding this comment.
Code Review
This pull request introduces the ability to load environment variables from a .env file and resolve placeholders within the agent's YAML configuration. It also updates the agents create command to use id instead of name in the request body. The review feedback highlights three key improvements: using a replacer function in replaceAll to prevent corruption from special replacement patterns in environment variables, ensuring resolveEnvVars only traverses plain objects to avoid breaking non-plain objects like Date, and handling .env loading errors outside the main try block to provide clearer error messages.
696b844 to
b02c086
Compare
b02c086 to
ed136c6
Compare
Verifying
|
No description provided.