Browse Source

feat(plugin/endpoint): add supports for provider to register `array[tool]` type field (#17523)

tags/1.2.0
Junyan Qin (Chin) 6 months ago
parent
commit
e7f1d0deea
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      api/core/entities/provider_entities.py

+ 1
- 0
api/core/entities/provider_entities.py View File

@@ -146,6 +146,7 @@ class BasicProviderConfig(BaseModel):
BOOLEAN = CommonParameterType.BOOLEAN.value
APP_SELECTOR = CommonParameterType.APP_SELECTOR.value
MODEL_SELECTOR = CommonParameterType.MODEL_SELECTOR.value
TOOLS_SELECTOR = CommonParameterType.TOOLS_SELECTOR.value

@classmethod
def value_of(cls, value: str) -> "ProviderConfig.Type":

Loading…
Cancel
Save