Ives van Hoorne
Ives van Hoorne
Interesting... is this supported by bundlers like Vite and Webpack? We might need to support this to get parity with them.
This is on my radar. I will find this week some time to investigate this! On Tue, Oct 8 2024 at 05:07, pointhalo < ***@***.*** > wrote: > > >...
I cannot reproduce it, but I do see something like this on CodeSandbox right now for _some_ previews. Still trying to figure out why it's happening...
I found the same issue, I think it goes wrong because of this line (outlines/fsm/guide.py:241): ``` prev_token_str = self.tokenizer.decode([[state.prev_token]])[0] ``` The tokenizer does not expect a 2d list. Changing it...
Taking a look! I have a hunch on what the issue can be.
Merging a fix now
Very interesting. I will take a look in a moment! Do you have a link to a page with Sandpack that is failing?
Yes, very weird. I can repro this occasionally. I'm looking at it again, but Chrome is not helping out that much (no relevant errors). I worry it's related to an...
Opening https://hxytj6.csb.app/ as a standalone URL shows it in some way. At some point, while loading the resources, the browser suddenly completely hangs. Network calls don't resolve and opening sources...
Huh now I tried again with the same URL and it works! This is triiicky