smol-ai / developer

the first library to let you embed a developer agent in your own app!
https://twitter.com/SmolModels
MIT License
11.79k stars 1.03k forks source link

TLS CA certifiation #60

Closed stagsz closed 1 year ago

stagsz commented 1 year ago

Hi,

I keep getting OSError: and I have changed the location of the TLS CA certificate, created new ones, moved again, created a new PATH in the environment variable, but I keep getting the same message. Where am I going wrong?

File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 458, in send self.cert_verify(conn, request.url, verify, cert) File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 261, in cert_verify raise OSError( OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /root/certifi/cacert.pem

I had difficulty getting Modal up and running, but it worked after I moved the entire 'site-packages' from the Roaming folder to the Local folder.

Please help me.

swyxio commented 1 year ago

i'm sorry i dont understand this issue. smol developer doesnt require a TLS cert, nor does it have a Roaming or Local folder. if you suspect it's a Modal issue, i recommend contacting their support, or using the non-modal version!

stagsz commented 1 year ago

First, will I say, Thank you for your great work. and the second is my fault. I think I figured out why it was this way and it had nothing to do with this repository, just how it was set up among my files. I still haven't gotten it to work yet, but I'll probably work it out soon.

swyxio commented 1 year ago

ok please keep trying and open an issue if you find something else!