mirror of
https://github.com/ollama/ollama.git
synced 2026-12-04 00:21:20 +00:00
docs: document licenses field in show api (#20125)
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
6d9b5e76be
commit
cee14658c8
1 file changed
+9
-1
+9
-1
@@ -624,7 +624,13 @@ components:
|
||||
description: Model parameter settings serialized as text
|
||||
license:
|
||||
type: string
|
||||
description: The license of the model
|
||||
deprecated: true
|
||||
description: All license text for the model, with multiple licenses joined by newlines. Use `licenses` instead.
|
||||
licenses:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: One entry per license layer, in manifest order (for example, a base model and a draft model from different publishers)
|
||||
modified_at:
|
||||
type: string
|
||||
description: Last modified timestamp in ISO 8601 format
|
||||
@@ -1790,6 +1796,8 @@ paths:
|
||||
example:
|
||||
parameters: "temperature 0.7\nnum_ctx 2048"
|
||||
license: "Gemma Terms of Use \n\nLast modified: February 21, 2024..."
|
||||
licenses:
|
||||
- "Gemma Terms of Use \n\nLast modified: February 21, 2024..."
|
||||
capabilities:
|
||||
- "completion"
|
||||
- "thinking"
|
||||
|
||||
Reference in new issue
Block a user