Feat: model provider (#16028)

### What problem does this PR solve?

Feat:
- Allow upsert model_type for instance model

Fix:
- Allow create instance with duplicate api_key

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Lynn
2026-06-15 19:10:33 +08:00
committed by GitHub
parent ba93ac3bd7
commit 47495c1f6a
6 changed files with 216 additions and 51 deletions

View File

@@ -69,6 +69,7 @@ class StatusEnum(Enum):
class ActiveStatusEnum(Enum):
ACTIVE = "active"
INACTIVE = "inactive"
UNSUPPORTED = "unsupported"
class ActiveEnum(Enum):