mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-15 14:51:19 -08:00
15 lines
443 B
Python
15 lines
443 B
Python
from __future__ import annotations
|
|
|
|
from .OpenaiAPI import OpenaiAPI
|
|
|
|
class DeepSeek(OpenaiAPI):
|
|
label = "DeepSeek API"
|
|
url = "https://platform.deepseek.com"
|
|
login_url = "https://platform.deepseek.com/api_keys"
|
|
working = True
|
|
api_base = "https://api.deepseek.com"
|
|
needs_auth = True
|
|
supports_stream = True
|
|
supports_message_history = True
|
|
default_model = "deepseek-chat"
|
|
fallback_models = [default_model]
|