tiktoken-php
tiktoken-php copied to clipboard
Update DefaultVocabLoader.php
Changes been made to handle a fopen error:0A000086:SSL routines::certificate verify failed error.
Downside: Ignoring SSL check for fopen towards OpenAI. Was using the gpt-4o model.
I can't reproduce the error.
If runtime (OS) does not have bundle of CA certificates, you can tune PHP config - openssl.cafile
Oke thank you for the reply. I will look for that and circle back to you with a response.