Closed simoncollins closed 11 months ago
Hey @Dax911,
can u justify why u wanted to use zustand for this esp since the context and state is already so tightly bound to the rust backend
Good question and I did mull over whether it was worth it. I initially implemented it without but found that I was prop drilling a bit to use state in different component subtrees once I split stuff from App
out into different component, so I figured it was worth it for simplifying the logic without adding too much overhead.
Definitely a good question about the split between Rust side and Tauri side state though.
linting will pass after this is merged - https://github.com/ai-qol-things/rusty-ollama/pull/35
Got basic question and response layout working. Also snuck in support for markdown rendering including GFM and added nice styling of response HTML with tailwind's typography package:
Added progress spinner:
Known issues / remaining work: