DWIM-Block
view release on metacpan or search on metacpan
lib/DWIM/Block.pm view on Meta::CPAN
either C<DWIM_API_KEY> or C<OPENAI_API_KEY>.
You specified a C<DWIM> block, but it could not find either of those environment variables.
Set up the variable in your shell or IDE. For example, in your shell config file:
# In your .bashrc or .zshrc file:
export DWIM_API_KEY=sk-proj-y0ur0p3n41Pr0j3c74P1k3y6035H3r3TH150n35N07R34l
# In your .cshrc file:
setenv DWIM_API_KEY sk-proj-y0ur0p3n41Pr0j3c74P1k3y6035H3r3TH150n35N07R34l
# In your .env file:
DWIM_API_KEY=sk-proj-y0ur0p3n41Pr0j3c74P1k3y6035H3r3TH150n35N07R34l
=back
=head1 CONFIGURATION AND ENVIRONMENT
DWIM::Block requires no configuration files.
( run in 0.507 second using v1.01-cache-2.11-cpan-3989ada0592 )