Linghui Gong

Results 10 comments of Linghui Gong

> Thanks for your PR! A really nice work. Most of codes are LGTM. Please rebase the main branch and add a test for this provider~ (you can refer to...

Hmm probably need to take some time to check how the streaming should be implemented. For some reason it's quite unstable.

> @danielglh what's the mean of the streaming is unstable? @arvinxx for some reason the response stream was cut randomly when it was deployed to Vercel for preview

@arvinxx I think it might be limitations of the edge servers Vercel uses for preview. The streaming works perfectly fine when I run lobe-chat locally and on a remote dev...

> Thanks for your PR! A really nice work. Most of codes are LGTM. Please rebase the main branch and add a test for this provider~ (you can refer to...

> @danielglh can you fix the test of anthropic test? I think the rest is well done enough to ship. @arvinxx tests fixed

@arvinxx I'm testing this on Vercel and still experiencing weird streaming problems: ![image](https://github.com/lobehub/lobe-chat/assets/1489309/bbd30411-a062-4643-913c-1633d0b7f667) Any suggestions? Cannot reproduce the issue in the local dev environment. It runs perfectly fine locally.

Found it ... not sure if it is a Vercel issue or an Anthropic SDK issue yet. https://github.com/anthropics/anthropic-sdk-typescript/issues/292 I would suggest that we go ahead and ship this first. Not...

@arvinxx documents updated regarding the known issue with Anthropic SDK on Vercel/Cloudflare edge runtime.