You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Use with streamUI a critical part of building chat UIs in the AI SDK
339
+
const result =awaitstreamUI({
340
+
model,
341
+
initial: <SpinnerMessage />,
342
+
messages: [
343
+
// ...
344
+
],
345
+
text: ({ content, done, delta }) => {
346
+
// ...
347
+
},
348
+
tools: {
349
+
// @ts-ignore
350
+
'find-food': foodAgent,
351
+
}
352
+
})
353
+
```
354
+
292
355
## OpenTelemetry support
293
356
294
357
The ability to trace and observe your llm workflow is critical to building production workflows. OpenTelemetry is an industry-standard, and we support the new `gen_ai` attribute namespace.
0 commit comments