!stable-docs
This commit is contained in:
Simon Willison 2025-01-22 22:17:07 -08:00 committed by GitHub
parent 3e88628602
commit e449fd4f46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,7 +79,7 @@ class NewModel(llm.Model):
```
These content types are detected when an attachment is passed to LLM using `llm -a filename`, or can be specified by the user using the `--attachment-type filename image/png` option.
**Note:** *MP3 files will have their attachment type detected as `audio/mpeg`, not `audio/mp3`.
**Note:** MP3 files will have their attachment type detected as `audio/mpeg`, not `audio/mp3`.
LLM will use the `attachment_types` attribute to validate that provided attachments should be accepted before passing them to the model.