From 51a413538845402695a88f08abee898bb50e116d Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Tue, 22 Oct 2024 17:19:46 +0300 Subject: Updated docs/providers-and-models.md g4f/models.py g4f/Provider/Upstage.py --- docs/providers-and-models.md | 2 +- g4f/Provider/Upstage.py | 4 ++-- g4f/models.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/providers-and-models.md b/docs/providers-and-models.md index 11244eb0..a6d7ec4b 100644 --- a/docs/providers-and-models.md +++ b/docs/providers-and-models.md @@ -97,7 +97,7 @@ This document provides an overview of various AI providers and models, including |[teach-anything.com](https://www.teach-anything.com)|`g4f.Provider.TeachAnything`|`llama-3.1-70b`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌| |[beta.theb.ai](https://beta.theb.ai)|`g4f.Provider.Theb`|✔|❌|❌|✔|![Unknown](https://img.shields.io/badge/Unknown-grey)|✔| |[beta.theb.ai](https://beta.theb.ai)|`g4f.Provider.ThebApi`|✔|❌|❌|✔|![Unknown](https://img.shields.io/badge/Unknown-grey)|✔| -|[console.upstage.ai/playground/chat](https://console.upstage.ai/playground/chat)|`g4f.Provider.Upstage`|`solar-pro, solar-1-mini`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌| +|[console.upstage.ai/playground/chat](https://console.upstage.ai/playground/chat)|`g4f.Provider.Upstage`|`solar-pro, solar-mini`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌| |[whiterabbitneo.com](https://www.whiterabbitneo.com)|`g4f.Provider.WhiteRabbitNeo`|✔|❌|❌|?|![Unknown](https://img.shields.io/badge/Unknown-grey)|✔| |[you.com](https://you.com)|`g4f.Provider.You`|✔|✔|✔|✔|![Unknown](https://img.shields.io/badge/Unknown-grey)|❌+✔| diff --git a/g4f/Provider/Upstage.py b/g4f/Provider/Upstage.py index 85d3a63e..65409159 100644 --- a/g4f/Provider/Upstage.py +++ b/g4f/Provider/Upstage.py @@ -19,8 +19,8 @@ class Upstage(AsyncGeneratorProvider, ProviderModelMixin): 'solar-pro', ] model_aliases = { - "solar-1-mini": "upstage/solar-1-mini-chat", - "solar-1-mini": "upstage/solar-1-mini-chat-ja", + "solar-mini": "upstage/solar-1-mini-chat", + "solar-mini": "upstage/solar-1-mini-chat-ja", } @classmethod diff --git a/g4f/models.py b/g4f/models.py index b3d59a40..1cea6447 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -1036,7 +1036,7 @@ class ModelUtils: ### Upstage ### -'solar-1-mini': solar_1_mini, +'solar-mini': solar_1_mini, 'solar-10-7b': solar_10_7b, 'solar-pro': solar_pro, -- cgit v1.2.3