瀏覽代碼

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

tags/1.2.0
Junyan Qin (Chin) 6 月之前
父節點
當前提交
e7f1d0deea
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      api/core/entities/provider_entities.py

+ 1
- 0
api/core/entities/provider_entities.py 查看文件

@@ -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…
取消
儲存