Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep-Seek and GPT o3 Error #2699

Open
nikita17-py opened this issue Feb 7, 2025 · 2 comments
Open

Deep-Seek and GPT o3 Error #2699

nikita17-py opened this issue Feb 7, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nikita17-py
Copy link

Deep-Seek error: Model deepseek-v3 not supported. Available models: 'gpt-4o-mini', 'claude-3-haiku-20240307', 'meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo', 'mistralai/Mixtral-8x7B-Instruct-v0.1'

Deep-Seek code:

response = g4f.ChatCompletion.create(
            model=deepseek-v3,
            provider=pg4f.Provider.BlackboxAPI,
            messages=[{"role": "system", "content": context}, {"role": "user", "content": user_input}]
        )

o3 error: Failed to perform, curl: (77) error setting certificate verify locations: CAfile: C:\Users\Никита\AppData\Local\Programs\Python\Python311\Lib\site-packages\certifi\cacert.pem CApath: none. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

o3 code:

import ssl
import certifi
from functools import partial

ssl.default_ca_certs = certifi.where()
ssl.create_default_context = partial(
    ssl.create_default_context,
    cafile=certifi.where()
)
response = g4f.ChatCompletion.create(
            model=o3-mini-low",
            provider=g4f.Provider.CablyAI,
            messages=[{"role": "system", "content": context}, {"role": "user", "content": user_input}]
        )

@hlohaus @xtekky

@nikita17-py nikita17-py added the bug Something isn't working label Feb 7, 2025
@nikita17-py
Copy link
Author

@xtekky @hlohaus

@hlohaus
Copy link
Collaborator

hlohaus commented Feb 11, 2025

Hey Nikita, that curl/certifi error is because of those weird characters in your Python path. Try installing Python directly on C: or make a new Windows user with a simple A-Z name and install it there. @nikita17-py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants