Closed fmaclen closed 3 weeks ago
This looks amazing!
I've tested this branch and the only bug that I find is the one we've talked about here.
I think we could merge this into #126, fix that problem and then we're ready to go!
Now that I think about it again, we should find a way to handle the behaviour of the previous isWaitingForResponse
. At beforeNavigate
, we should be able to detect if a request has been sent to /chat
and completion is still empty. In that case, I think it should throw the alert and the user would have to confirm and abort the response, right?
ollama-js
withfetch()
using the old implementation forabortController
ollama-js
as a source for type definitinosOllamaModel
,OllamaTagResponse
withimport type { ListResponse } from 'ollama/browser';