Commit graph

3 commits

Author SHA1 Message Date
William Espegren
e6cd8963e8 renamed and added test_good_key() 2023-09-12 19:02:55 +02:00
William Espegren
987194f2aa Raise exception if bad key is not detected 2023-09-12 18:51:50 +02:00
William Espegren
09022ad61d 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