Skip to content
New issue

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

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

Already on GitHub? # to your account

Deep-Seek and GPT o3 Error #2699

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

Deep-Seek and GPT o3 Error #2699

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

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

Copy link

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

@github-actions github-actions bot added the stale label Feb 19, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

3 participants