mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-21 03:39:54 +00:00
28a9c43f81
The cherry-picked code passed the env var NAME (e.g. 'MY_API_KEY') as the api_key value. The caller's has_usable_secret() check would reject the var name, so the actual key was never used. Now we os.getenv() the key_env value to get the real API key before returning it.