FIX: Rename the CometEmbed and CometSeq2txt classes to CometAPIEmbed and CometAPISeq2txt, and correct supported_models.mdx. (#10298)

### What problem does this PR solve?

Rename the CometEmbed and CometSeq2txt classes to CometAPIEmbed and
CometAPISeq2txt, and correct supported_models.mdx.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
TensorNull
2025-09-26 10:50:56 +08:00
committed by GitHub
parent 62b7c655c5
commit ef59c5bab9
3 changed files with 3 additions and 3 deletions

View File

@ -956,7 +956,7 @@ class Ai302Embed(Base):
super().__init__(key, model_name, base_url)
class CometEmbed(OpenAIEmbed):
class CometAPIEmbed(OpenAIEmbed):
_FACTORY_NAME = "CometAPI"
def __init__(self, key, model_name, base_url="https://api.cometapi.com/v1"):