deepinfra / deepinfra-node

Official TypeScript wrapper for DeepInfra Inference API
https://deepinfra.com/
MIT License
8 stars 0 forks source link

Auto-set DEEPINFRA_API_KEY from environment variables #28

Closed ovuruska closed 4 months ago

ovuruska commented 4 months ago

apiKey paramter will be optional. If not provided, apiKey will be tried to be fetched from environment variables. If not available in env variables and not provided, error should be thrown.