ai icon indicating copy to clipboard operation
ai copied to clipboard

createStreamableUI example in the doc is not working

Open defless opened this issue 2 years ago • 3 comments

Description

Since yesterday, the example associated with createStreamableUI (https://sdk.vercel.ai/examples/next-app/tools/render-interface-during-tool-call) is not working

Code example

No response

Additional context

No response

defless avatar Jun 04 '24 07:06 defless

@defless Thanks for reporting! Can you share more details on what's not working? I tried running the example and it seems to be working fine.

I suspect you maybe didn't update the following placeholder inside the weather component?

const data = await fetch(
  `https://api.example.com/weather?city=${city}&unit=${unit}`,
);

jeremyphilemon avatar Jun 04 '24 17:06 jeremyphilemon

I meant the whole page (https://sdk.vercel.ai/examples/next-app/tools/render-interface-during-tool-call) was returning a 500 error, not the example code in the page.

But it's now working perfectly fine ! Thank you for your answer tho 👌

defless avatar Jun 05 '24 08:06 defless

Identify issue type

Identified as None
Confidence: High

Rationale

This was a transient documentation-site availability report that resolved itself, not a current SDK bug or a request to change documentation or examples.

Evidence

  • Reporter clarified that the documentation page itself temporarily returned HTTP 500; the example code was not failing.
  • Reporter later confirmed the page was working perfectly again.
  • No ongoing failure or requested documentation/product change remains.

lgrammel avatar Jul 22 '26 17:07 lgrammel