feat: adapt to plugin_daemon endpoint

This commit is contained in:
Stream
2025-08-27 16:12:40 +08:00
parent 7db77cf9f8
commit 11f4743624
3 changed files with 27 additions and 7 deletions

View File

@ -196,3 +196,7 @@ class PluginListResponse(BaseModel):
class PluginDynamicSelectOptionsResponse(BaseModel):
options: Sequence[PluginParameterOption] = Field(description="The options of the dynamic select.")
class PluginReadmeResponse(BaseModel):
content: str = Field(description="The readme of the plugin.")
language: str = Field(description="The language of the readme.")