jacobtomlinson / sphinx-llm

LLM plugin for Sphinx
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Pull ollama models automatically #2

Closed jacobtomlinson closed 2 days ago

jacobtomlinson commented 2 days ago

Right now we just assume we are using llama3.2:3b and in CI we pull that model before running the build.

https://github.com/jacobtomlinson/sphinx-llm/blob/c9d9f72ae0251cf338e9dfab1dc2ab28bc48db67/.github/workflows/build-docs.yml#L41

It would be nice if we added an ensure_model() method to the disrective that checks and pull the model if missing. That way the only prerequisite is to have ollama running.

jacobtomlinson commented 2 days ago

Closed in 200b658