tiktoken-php icon indicating copy to clipboard operation
tiktoken-php copied to clipboard

Update DefaultVocabLoader.php

Open petericebear opened this issue 1 year ago • 2 comments

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.

petericebear avatar Jul 24 '24 09:07 petericebear

I can't reproduce the error.

If runtime (OS) does not have bundle of CA certificates, you can tune PHP config - openssl.cafile

yethee avatar Jul 24 '24 18:07 yethee

Oke thank you for the reply. I will look for that and circle back to you with a response.

petericebear avatar Jul 25 '24 17:07 petericebear