Update ollama/_types.py

Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
This commit is contained in:
Jeffrey Morgan 2024-11-26 10:41:45 -08:00 committed by GitHub
parent ea0e0dc692
commit ec2c8fdd8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):