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:
@@ -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.",
|
||||
|
Reference in New Issue
Block a user