Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make subscription methods more consistent with __contains__ #336

Merged
merged 5 commits into from
Nov 26, 2024

Conversation

jmorganca
Copy link
Member

@jmorganca jmorganca commented Nov 24, 2024

message["tool_calls"] will now raise an exception if it's not set to be consistent with the old map behavior and the __contains__ operation updated in 0.4.1

@jmorganca jmorganca changed the title make subscription methods more consistent with maps make subscription methods more consistent with previous behavior Nov 24, 2024
@jmorganca jmorganca changed the title make subscription methods more consistent with previous behavior make subscription methods more consistent with __contains__ Nov 24, 2024
@jmorganca jmorganca requested review from ParthSareen and removed request for ParthSareen November 26, 2024 17:57
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
ollama/_types.py Outdated Show resolved Hide resolved
ollama/_types.py Outdated Show resolved Hide resolved
jmorganca and others added 3 commits November 26, 2024 10:41
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
@ParthSareen
Copy link
Contributor

Ran examples as well - looks good!

@jmorganca jmorganca merged commit 758a1d2 into main Nov 26, 2024
6 checks passed
@jmorganca jmorganca deleted the jmorganca/sub-behavior branch November 26, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants