fix(llm): DeepSeek напрямую (api.deepseek.com) вместо LiteLLM
LiteLLM не видит токены (token_not_found_in_db). DeepSeek напрямую работает с ключом sk-78ec52... без HTTP/2 проблем.
This commit is contained in:
+2
-2
@@ -17,8 +17,8 @@ import httpx
|
||||
|
||||
# ── Конфигурация ────────────────────────────────────────────────
|
||||
|
||||
DEFAULT_URL = "https://api.aillm.ru/v1/chat/completions"
|
||||
DEFAULT_MODEL = "gpt-oss-120b"
|
||||
DEFAULT_URL = "https://api.deepseek.com/v1/chat/completions"
|
||||
DEFAULT_MODEL = "deepseek-chat"
|
||||
|
||||
|
||||
def ask(prompt: str, model: str = None, max_tokens: int = 8000) -> dict:
|
||||
|
||||
Reference in New Issue
Block a user