feat(files, s3, expiration): add expires_after support to S3 files provider

this also updates the localfs provider to reject the optional expires_after.

[API CHANGE] Add optional expires_after to POST /v1/files.
This commit is contained in:
Matthew Farrellee 2025-08-29 09:09:09 -04:00
parent ed418653ec
commit 76a59e4a55
9 changed files with 371 additions and 81 deletions

View file

@ -33,7 +33,7 @@ dependencies = [
"jsonschema",
"llama-stack-client>=0.2.19",
"llama-api-client>=0.1.2",
"openai>=1.99.6,<1.100.0",
"openai>=1.99.6",
"prompt-toolkit",
"python-dotenv",
"python-jose[cryptography]",
@ -105,7 +105,7 @@ unit = [
# separately. If you are using "uv" to execute your tests, you can use the "--group" flag to specify extra
# dependencies.
test = [
"openai",
"openai>=1.100.0", # for expires_after support
"aiosqlite",
"aiohttp",
"torch>=2.6.0",