mirror of
https://github.com/langgenius/dify.git
synced 2026-04-15 01:38:19 +08:00
Update api/controllers/web/completion.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
8fa5e71129
commit
163f56686f
@ -38,7 +38,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
class CompletionMessagePayload(BaseModel):
|
||||
inputs: dict[str, Any] = Field(description="Input variables for the completion")
|
||||
query: str = Field(description="Query text for completion")
|
||||
query: str = Field(default="", description="Query text for completion")
|
||||
files: list[dict[str, Any]] | None = Field(default=None, description="Files to be processed")
|
||||
response_mode: Literal["blocking", "streaming"] | None = Field(
|
||||
default=None, description="Response mode: blocking or streaming"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user