feat(api): update endpoint to support new parameter

Update the API server to support the new parameter from the core library (PR #1032).
This commit is contained in:
yumpyy
2025-05-21 15:50:05 +05:30
parent 702e87492c
commit 4d806a1263

View File

@@ -78,6 +78,11 @@ class QueryRequest(BaseModel):
description="Number of complete conversation turns (user-assistant pairs) to consider in the response context.",
)
ids: list[str] | None = Field(
default=None,
description="List of ids to filter the results."
)
user_prompt: Optional[str] = Field(
default=None,
description="User-provided prompt for the query. If provided, this will be used instead of the default value from prompt template.",