Skip to content

feat: dynamic Ollama catalog (v0.1.3)#165

Merged
bityodha merged 5 commits into
mainfrom
feature/dynamic-catalog
Jul 19, 2026
Merged

feat: dynamic Ollama catalog (v0.1.3)#165
bityodha merged 5 commits into
mainfrom
feature/dynamic-catalog

Conversation

@himanshu231204

@himanshu231204 himanshu231204 commented Jul 19, 2026

Copy link
Copy Markdown
Member

Summary

Replace the static catalog.json with a live catalog scraped from ollama.com/library, cached locally for 24 hours with a bundled fallback.

Changes

  • New adapter: OllamaLibraryRegistry scrapes ollama.com/library, auto-detects Category/Capability, caches with 24h TTL
  • Config option: catalog_source (auto/ollama/bundled) + MODELDOCK_CATALOG_SOURCE env var
  • Removed: src/modeldock/data/catalog.json
  • Updated all docs: CONTEXT.md, AGENT.md, QUICKSTART.md, README.md, PROJECT.MD, INSTRUCTIONS.md, Development.md, SECURITY.md, Architecture.md

Testing

  • ruff check src tests
  • ruff format src tests --check
  • mypy src
  • bandit -r src
  • pytest — 168 passed, 6 skipped
  • uv build

Checklist

  • Tests added
  • Docs updated
  • No core/CLI/API changes

- Add OllamaLibraryRegistry that scrapes ollama.com/library with 24h cache
- Add catalog_source config option (auto/ollama/bundled)
- Remove catalog.json, update all docs and architecture references
- Bump version to 0.1.3
Comment thread src/modeldock/adapters/registry/ollama_library.py Fixed
Comment thread src/modeldock/adapters/registry/ollama_library.py Fixed
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@bityodha
bityodha merged commit 19c4d62 into main Jul 19, 2026
28 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Congratulations @himanshu231204!

Your pull request has been successfully merged into main. 🚀

Thank you for contributing to OpenAgentHQ and helping improve the project.

We truly appreciate your contribution and hope to see you back with more amazing PRs!

Happy Open Sourcing! ❤️

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.

3 participants