mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 00:48:04 +08:00
Merge branch 'feat/plugin-readme' into feat/trigger
# Conflicts: # api/controllers/console/workspace/plugin.py # api/core/plugin/entities/plugin_daemon.py
This commit is contained in:
@ -252,3 +252,7 @@ class CredentialType(enum.StrEnum):
|
||||
return cls.UNAUTHORIZED
|
||||
else:
|
||||
raise ValueError(f"Invalid credential type: {credential_type}")
|
||||
|
||||
class PluginReadmeResponse(BaseModel):
|
||||
content: str = Field(description="The readme of the plugin.")
|
||||
language: str = Field(description="The language of the readme.")
|
||||
|
||||
Reference in New Issue
Block a user