mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 14:59:47 +00:00
Update OpenAPI
This commit is contained in:
parent
e0731ba353
commit
d4935ca439
6 changed files with 440 additions and 1359 deletions
|
|
@ -36,7 +36,7 @@ def interpret_content_as_attachment(content: str) -> Optional[Attachment]:
|
|||
snippet = match.group(1)
|
||||
data = json.loads(snippet)
|
||||
return Attachment(
|
||||
content=URL(uri="file://" + data["filepath"]), mime_type=data["mimetype"]
|
||||
url=URL(uri="file://" + data["filepath"]), mime_type=data["mimetype"]
|
||||
)
|
||||
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue