This PR fixes the agent connection using the new features, it currently fails when connecting an agent using the start command without an API key due to a change on the environment endpoint and the lack of the API key on the response.
Changes
Uses the agent endpoint to grab the key
Removes the usage of the env id when fetching the agent token from an environment
This PR fixes the agent connection using the new features, it currently fails when connecting an agent using the
start
command without an API key due to a change on the environment endpoint and the lack of the API key on the response.Changes
Checklist