Closed PFacheris closed 8 months ago
Attempting to list all prompts simply prints 'items' if the API key is not set due to the KeyError.
https://github.com/MagnivOrg/prompt-layer-library/blob/master/promptlayer/prompts/prompts.py#L80-L83
This should likely be raising an exception so that it can be handled by the caller.
@PFacheris just fixed it, thanks for pointing this out!
Attempting to list all prompts simply prints 'items' if the API key is not set due to the KeyError.
https://github.com/MagnivOrg/prompt-layer-library/blob/master/promptlayer/prompts/prompts.py#L80-L83
This should likely be raising an exception so that it can be handled by the caller.