Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ollama
/
ollama-python
Public
Notifications
You must be signed in to change notification settings
Fork
873
Star
9k
Code
Issues
99
Pull requests
21
Actions
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security
Insights
Commits
Branch selector
main
User selector
All users
Datepicker
All time
Commit History
Commits on Dec 11, 2025
client: expose resource cleanup methods (#444)
ParthSareen
authored
d1d7040
Copy full SHA for d1d7040
Commits on Nov 13, 2025
readme: add cloud models usage and examples (#595)
eden-chan
authored
1157925
Copy full SHA for 1157925
client/types: add logprobs support (#601)
ParthSareen
authored
0008226
Copy full SHA for 0008226
Commits on Sep 24, 2025
examples: fix model web search (#589)
ParthSareen
authored
9ddd5f0
Copy full SHA for 9ddd5f0
examples: gpt oss browser tool (#588)
Show description for d967f04
ParthSareen
and
npardal
authored
d967f04
Copy full SHA for d967f04
examples: add mcp server for web_search web_crawl (#585)
ParthSareen
authored
ab49a66
Copy full SHA for ab49a66
Commits on Sep 23, 2025
client/types: update web search and fetch API (#584)
Show description for 16f344f
npardal
and
ParthSareen
authored
16f344f
Copy full SHA for 16f344f
client: load OLLAMA_API_KEY on init (#583)
ParthSareen
authored
d0f71bc
Copy full SHA for d0f71bc
Commits on Sep 19, 2025
init: fix export for web_search (#581)
ParthSareen
authored
b22c5fd
Copy full SHA for b22c5fd
Commits on Sep 18, 2025
client: add web search and web crawl capabilities (#578)
ParthSareen
authored
4d0b81b
Copy full SHA for 4d0b81b
Commits on Sep 16, 2025
feat: add dimensions to embed request (#574)
mxyng
authored
a1d04f0
Copy full SHA for a1d04f0
Commits on Sep 5, 2025
build(deps): bump actions/setup-python from 5 to 6 (#571)
Show description for 8af6cac
dependabot[bot]
authored
8af6cac
Copy full SHA for 8af6cac
Commits on Sep 2, 2025
examples: make gpt-oss resilient for failed tool calls (#569)
MarkWard0110
authored
9f41447
Copy full SHA for 9f41447
Commits on Aug 21, 2025
examples: fix gpt-oss-tools-stream for adding toolcalls (#568)
ParthSareen
authored
da79e98
Copy full SHA for da79e98
Commits on Aug 20, 2025
Fix link for thinking-levels.py (#567)
Show description for c8392d6
btjanaka
authored
c8392d6
Copy full SHA for c8392d6
Commits on Aug 19, 2025
examples/gpt-oss: fix examples (#566)
ParthSareen
authored
07ab287
Copy full SHA for 07ab287
Commits on Aug 12, 2025
build(deps): bump actions/checkout from 4 to 5 (#559)
Show description for b0f6b99
dependabot[bot]
authored
b0f6b99
Copy full SHA for b0f6b99
Commits on Aug 11, 2025
examples: add gpt-oss browser example (#558)
ParthSareen
authored
c87604c
Copy full SHA for c87604c
Commits on Aug 7, 2025
Merge pull request #553 from ollama/drifkin/thinking-levels
Show description for 53ff3cd
drifkin
authored
53ff3cd
Copy full SHA for 53ff3cd
add support for 'high'/'medium'/'low' think values
Show description for aa4b476
drifkin
committed
aa4b476
Copy full SHA for aa4b476
Commits on Aug 5, 2025
types: relax type for tools (#550)
ParthSareen
authored
34e98bd
Copy full SHA for 34e98bd
examples: add gpt-oss tools (#549)
ParthSareen
authored
dad9e1c
Copy full SHA for dad9e1c
Commits on Jul 22, 2025
examples: update to use gemma3 (#543)
ParthSareen
authored
fe91357
Copy full SHA for fe91357
pyproject.toml: add license metadata to package (#526)
ViViDboarder
authored
d7978cb
Copy full SHA for d7978cb
Commits on Jul 9, 2025
types: add context_length to ProcessResponse (#538)
ParthSareen
authored
b23d79d
Copy full SHA for b23d79d
types/examples: add tool_name to message and examples (#537)
ParthSareen
authored
33488ee
Copy full SHA for 33488ee
Commits on May 30, 2025
Merge pull request #525 from hwittenborn/main
Show description for 63ca747
drifkin
authored
63ca747
Copy full SHA for 63ca747
Remove unused `messages` variable from `thinking-generate` example
hwittenborn
authored
4c11d50
Copy full SHA for 4c11d50
Merge pull request #524 from ollama/drifkin/thinking-support
Show description for ce6846e
drifkin
authored
ce6846e
Copy full SHA for ce6846e
fully add thinking support to `generate()`
Show description for e0253ab
drifkin
committed
e0253ab
Copy full SHA for e0253ab
Commits on May 29, 2025
Merge pull request #521 from ollama/drifkin/thinking-support
Show description for 756bd8f
drifkin
authored
756bd8f
Copy full SHA for 756bd8f
Commits on May 27, 2025
add thinking example to example index
drifkin
committed
f8c6cd5
Copy full SHA for f8c6cd5
add support for thinking
Show description for eaad6df
drifkin
committed
eaad6df
Copy full SHA for eaad6df
Commits on May 15, 2025
types: add capabilities to show response. (#511)
jayrinaldime
authored
5d7c63f
Copy full SHA for 5d7c63f
Commits on May 6, 2025
Merge pull request #445 from ollama/mxyng/hatch
Show description for 5ae5f81
mxyng
authored
5ae5f81
Copy full SHA for 5ae5f81
Pagination
Previous
Next
You can’t perform that action at this time.