quarkiverse / quarkus-langchain4j

Quarkus Langchain4j extension
https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html
Apache License 2.0
148 stars 89 forks source link

ollama pull progress with little context if its a restart #1046

Closed maxandersen closed 2 weeks ago

maxandersen commented 2 weeks ago

when canceling a quarkus dev mode while ollama pull is running you get this on startup:

Ollama model pull: 2024-11-04 16:22:05,735 INFO  [io.qua.lan.dep.dev.DevServicesOllamaProcessor] (HttpClient-2-Worker-2) Progress: 95.79%

...should the progress line contain the related model being fetched?

i.e.

`Ollama model pull: 2024-11-04 16:22:05,735 INFO  [io.qua.lan.dep.dev.DevServicesOllamaProcessor] (HttpClient-2-Worker-2) llama3.1 Progress: 95.79%`
geoand commented 2 weeks ago

Sure, we can do that

geoand commented 2 weeks ago

I updated https://github.com/quarkiverse/quarkus-langchain4j/pull/1045 to handle this as well