feat: download pkg from marketplace (#9184)

This commit is contained in:
Junyan Qin
2024-10-11 02:00:02 +08:00
committed by GitHub
parent 118fa66567
commit b58f8dd7b4
6 changed files with 41 additions and 3 deletions

View File

@ -137,6 +137,16 @@ class PluginConfig(BaseSettings):
default=5003,
)
class MarketplaceConfig(BaseSettings):
"""
Configuration for marketplace
"""
MARKETPLACE_API_URL: HttpUrl = Field(
description="Marketplace API URL",
default="https://marketplace.dify.ai",
)
class EndpointConfig(BaseSettings):
"""
@ -636,6 +646,7 @@ class FeatureConfig(
BillingConfig,
CodeExecutionSandboxConfig,
PluginConfig,
MarketplaceConfig,
DataSetConfig,
EndpointConfig,
FileAccessConfig,