diff options
author | rkihacker <rkihacker@gmail.com> | 2024-11-02 17:17:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-02 17:17:15 +0100 |
commit | e1d209ea802af3054dbf2b0bd10907c76f7f409a (patch) | |
tree | 0d0a38aa52fcdeee945dba2e1c8b36255b6c0964 | |
parent | Merge branch 'kqlio67:main' into main (diff) | |
download | gpt4free-e1d209ea802af3054dbf2b0bd10907c76f7f409a.tar gpt4free-e1d209ea802af3054dbf2b0bd10907c76f7f409a.tar.gz gpt4free-e1d209ea802af3054dbf2b0bd10907c76f7f409a.tar.bz2 gpt4free-e1d209ea802af3054dbf2b0bd10907c76f7f409a.tar.lz gpt4free-e1d209ea802af3054dbf2b0bd10907c76f7f409a.tar.xz gpt4free-e1d209ea802af3054dbf2b0bd10907c76f7f409a.tar.zst gpt4free-e1d209ea802af3054dbf2b0bd10907c76f7f409a.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/Blackbox.py | 98 |
1 files changed, 76 insertions, 22 deletions
diff --git a/g4f/Provider/Blackbox.py b/g4f/Provider/Blackbox.py index e2595b02..47b3c05c 100644 --- a/g4f/Provider/Blackbox.py +++ b/g4f/Provider/Blackbox.py @@ -29,28 +29,46 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin): image_models = ['ImageGeneration'] models = [ default_model, - 'blackboxai-pro', - *image_models, - "llama-3.1-8b", - 'llama-3.1-70b', - 'llama-3.1-405b', - 'gpt-4o', - 'gemini-pro', - 'gemini-1.5-flash', - 'claude-sonnet-3.5', - 'PythonAgent', - 'JavaAgent', - 'JavaScriptAgent', - 'HTMLAgent', - 'GoogleCloudAgent', - 'AndroidDeveloper', - 'SwiftDeveloper', - 'Next.jsAgent', - 'MongoDBAgent', - 'PyTorchAgent', - 'ReactAgent', - 'XcodeAgent', - 'AngularJSAgent', + 'blackboxai-pro', + *image_models, + "llama-3.1-8b", + 'llama-3.1-70b', + 'llama-3.1-405b', + 'gpt-4o', + 'gemini-pro', + 'gemini-1.5-flash', + 'claude-sonnet-3.5', + 'PythonAgent', + 'JavaAgent', + 'JavaScriptAgent', + 'HTMLAgent', + 'GoogleCloudAgent', + 'AndroidDeveloper', + 'SwiftDeveloper', + 'Next.jsAgent', + 'MongoDBAgent', + 'PyTorchAgent', + 'ReactAgent', + 'XcodeAgent', + 'AngularJSAgent', + 'HerokuAgent', + 'GodotAgent', + 'GoAgent', + 'GitlabAgent', + 'GitAgent', + 'RepoMap', + 'FlaskAgent', + 'FirebaseAgent', + 'FastAPIAgent', + 'ErlangAgent', + 'ElectronAgent', + 'DockerAgent', + 'DigitalOceanAgent', + 'BitbucketAgent', + 'AzureAgent', + 'FlutterAgent', + 'YoutubeAgent', + 'builderAgent', ] agentMode = { @@ -59,6 +77,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin): trendingAgentMode = { "blackboxai": {}, + "blackboxai": {}, "gemini-1.5-flash": {'mode': True, 'id': 'Gemini'}, "llama-3.1-8b": {'mode': True, 'id': "llama-3.1-8b"}, 'llama-3.1-70b': {'mode': True, 'id': "llama-3.1-70b"}, @@ -77,6 +96,24 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin): 'ReactAgent': {'mode': True, 'id': "React Agent"}, 'XcodeAgent': {'mode': True, 'id': "Xcode Agent"}, 'AngularJSAgent': {'mode': True, 'id': "AngularJS Agent"}, + 'HerokuAgent': {'mode': True, 'id': "Heroku Agent"}, + 'GodotAgent': {'mode': True, 'id': "Godot Agent"}, + 'GoAgent': {'mode': True, 'id': "Go Agent"}, + 'GitlabAgent': {'mode': True, 'id': "Gitlab Agent"}, + 'GitAgent': {'mode': True, 'id': "Git Agent"}, + 'RepoMap': {'mode': True, 'id': "RepoMap"}, + 'FlaskAgent': {'mode': True, 'id': "FlaskAgentTrendID"}, + 'FirebaseAgent': {'mode': True, 'id': "FirebaseAgentTrendID"}, + 'FastAPIAgent': {'mode': True, 'id': "FastAPIAgentTrendID"}, + 'ErlangAgent': {'mode': True, 'id': "ErlangAgentTrendID"}, + 'ElectronAgent': {'mode': True, 'id': "ElectronAgentTrendID"}, + 'DockerAgent': {'mode': True, 'id': "DockerAgentTrendID"}, + 'DigitalOceanAgent': {'mode': True, 'id': "DigitalOceanAgentTrendID"}, + 'BitbucketAgent': {'mode': True, 'id': "BitbucketAgentTrendID"}, + 'AzureAgent': {'mode': True, 'id': "AzureAgentTrendID"}, + 'FlutterAgent': {'mode': True, 'id': "FlutterAgentTrendID"}, + 'YoutubeAgent': {'mode': True, 'id': "YoutubeAgentTrendID"}, + 'builderAgent': {'mode': True, 'id': "builderAgentTrendID"}, } userSelectedModel = { @@ -101,8 +138,25 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin): 'ReactAgent': '@React Agent', 'XcodeAgent': '@Xcode Agent', 'AngularJSAgent': '@AngularJS Agent', + 'HerokuAgent': '@Heroku Agent', + 'GodotAgent': '@Godot Agent', + 'GoAgent': '@Go Agent', + 'GitlabAgent': '@Gitlab Agent', + 'GitAgent': '@Git Agent', 'blackboxai-pro': '@BLACKBOXAI-PRO', 'ImageGeneration': '@Image Generation', + 'FlaskAgent': '@Flask Agent', + 'FirebaseAgent': '@Firebase Agent', + 'FastAPIAgent': '@FastAPI Agent', + 'ErlangAgent': '@Erlang Agent', + 'ElectronAgent': '@Electron Agent', + 'DockerAgent': '@Docker Agent', + 'DigitalOceanAgent': '@DigitalOcean Agent', + 'BitbucketAgent': '@Bitbucket Agent', + 'AzureAgent': '@Azure Agent', + 'FlutterAgent': '@Flutter Agent', + 'YoutubeAgent': '@Youtube Agent', + 'builderAgent': '@builder Agent', } model_referers = { |