📚 API ReferenceHooks
useEnvironment
Returns the current environment - `'development'` or `'production'`.
This can be used to determine if the agent is running in a development or deployed server environment.
Not to be confused with useEnv
, which returns environment variables.