Yeah, I can see how on device is doing the matching just fine.
Still weird the try is not required in the for await while next() is actually throwing. This wasn't the case before.
When it emits a LanguageModelError, the catch let error as LanguageModelError is literally what I mention that is not working here, goes straight to the catch.
Yeah, I can see how on device is doing the matching just fine.
Still weird the try is not required in the for await while next() is actually throwing. This wasn't the case before.
When it emits a LanguageModelError, the catch let error as LanguageModelError is literally what I mention that is not working here, goes straight to the catch.