Feat: model list (#15774)

### What problem does this PR solve?

Support model list for VolcEngine.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Lynn
2026-06-08 20:18:00 +08:00
committed by GitHub
parent 338fdb65fb
commit b9f06e6095
3 changed files with 60 additions and 5 deletions

View File

@@ -256,7 +256,7 @@ async def create_provider_instance(tenant_id: str, provider_name: str, instance_
:param region: region
:param model_info: model info, [{
"model_type": ["chat"], # support multiple
"model_name": "name"
"model_name": "name",
"max_tokens": 4096,
"extra": {
"field1": "value1",
@@ -352,7 +352,7 @@ async def verify_api_key(provider_name: str, api_key: str|dict, base_url: str=No
:param region: region
:param model_info: model info, [{
"model_type": ["chat"], # support multiple
"model_name": "name"
"model_name": "name",
"max_tokens": 4096,
"extra": {
"field1": "value1",