mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-12 16:16:09 +00:00
feat: Add url field to PaginatedResponse and populate it using route path
Resolves: https://github.com/meta-llama/llama-stack/issues/1847 Changes: - responses.py: added optional `url` field to PaginatedResponse - server.py: automatically populate the URL field with route path
This commit is contained in:
parent
33ecefd284
commit
e28a57ad76
4 changed files with 14 additions and 1 deletions
4
docs/_static/llama-stack-spec.html
vendored
4
docs/_static/llama-stack-spec.html
vendored
|
@ -10711,6 +10711,10 @@
|
|||
"has_more": {
|
||||
"type": "boolean",
|
||||
"description": "Whether there are more items available after this set"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The URL for accessing this list"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue