Commit graph

3 commits

Author SHA1 Message Date
William Espegren
b26933301d
renamed and added test_good_key() 2023-09-12 19:02:55 +02:00
William Espegren
1b51016680
Raise exception if bad key is not detected 2023-09-12 18:51:50 +02:00
William Espegren
261db15bcf
util: verify_access_key
Verify that the user provided a valid openai token by creating a request to the openAI endpoint.
2023-09-12 18:48:23 +02:00