Closed jmartisk closed 1 week ago
There's a slight problem here that streaming is always executed on the event loop, so it blows up if some of the tools are blocking. Need to figure out how to properly solve this.
There's a slight problem here that streaming is always executed on the event loop, so it blows up if some of the tools are blocking. Need to figure out how to properly solve this.
ok this should be fixed, I'm not sure if there's a better solution but I just added an assumption that tools and retrieval augmentors are blocking and should execute on a worker thread
Merging it, next I'd like to support images and do some more refactoring, the code of the page is getting really ugly
Rag>![rag](https://github.com/quarkiverse/quarkus-langchain4j/assets/937315/28a5d5a1-5a36-4122-a996-7a1947448b37)
Tools>![tools](https://github.com/quarkiverse/quarkus-langchain4j/assets/937315/3a61e96b-5f21-451e-9274-ed3bb1c64fc5)