Skip to content

Commit eadee65

Browse files
committed
feat: Add AsyncNOVITA provider
fix: Remove BLACKBOXAI provider patch: Update provider_map dictionary delete: Remove test_blackboxai_tgpt.py file
1 parent 9d61053 commit eadee65

File tree

3 files changed

+2
-25
lines changed

3 files changed

+2
-25
lines changed

src/pytgpt/async_providers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"novita": AsyncNOVITA,
1616
}
1717

18+
1819
tgpt_mapper: dict[str, object] = {
1920
"phind": AsyncPHIND,
2021
"koboldai": AsyncKOBOLDAI,

src/pytgpt/auto/main.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from pytgpt.base import Provider, AsyncProvider
22
from pytgpt.koboldai import KOBOLDAI, AsyncKOBOLDAI
33
from pytgpt.phind import PHIND, AsyncPHIND
4-
from pytgpt.blackboxai import BLACKBOXAI, AsyncBLACKBOXAI
54
from pytgpt.perplexity import PERPLEXITY
65
from pytgpt.gpt4free import GPT4FREE, AsyncGPT4FREE
76
from pytgpt.gpt4free.utils import TestProviders
@@ -15,11 +14,10 @@
1514
import logging
1615

1716

18-
provider_map: dict[str, Union[KOBOLDAI, PHIND, BLACKBOXAI, PERPLEXITY, GPT4FREE]] = {
17+
provider_map: dict[str, Union[KOBOLDAI, PHIND, PERPLEXITY, GPT4FREE]] = {
1918
"phind": PHIND,
2019
"perplexity": PERPLEXITY,
2120
"koboldai": KOBOLDAI,
22-
"blackboxai": BLACKBOXAI,
2321
"gpt4free": GPT4FREE,
2422
}
2523

@@ -259,7 +257,6 @@ def __init__(
259257
self.provider: Union[
260258
AsyncKOBOLDAI,
261259
AsyncPHIND,
262-
AsyncBLACKBOXAI,
263260
AsyncGPT4FREE,
264261
] = None
265262
self.provider_name: str = None

tests/test_blackboxai_tgpt.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)