Ver código fonte

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

tags/1.2.0
Junyan Qin (Chin) 6 meses atrás
pai
commit
e7f1d0deea
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      api/core/entities/provider_entities.py

+ 1
- 0
api/core/entities/provider_entities.py Ver arquivo

@@ -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":

Carregando…
Cancelar
Salvar