mirror of
https://github.com/ollama/ollama-python.git
synced 2026-01-13 21:57:16 +08:00
Update ollama/_types.py
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
This commit is contained in:
parent
ea0e0dc692
commit
ec2c8fdd8d
@ -21,9 +21,6 @@ class SubscriptableBaseModel(BaseModel):
|
||||
>>> msg = Message(role='user')
|
||||
>>> msg['role']
|
||||
'user'
|
||||
>>> tool = Tool()
|
||||
>>> tool['type']
|
||||
'function'
|
||||
>>> msg = Message(role='user')
|
||||
>>> msg['nonexistent']
|
||||
Traceback (most recent call last):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user