Refactor StreamRenderer for improved output formatting and clarity. Enhanced visual structure for agent events, tool invocations, and usage statistics. Removed deprecated provider options from agent stream function.

This commit is contained in:
tusharmagar 2025-11-18 15:50:49 +05:30
parent 0258f8284f
commit fb542afc38
2 changed files with 75 additions and 30 deletions

View file

@ -314,12 +314,6 @@ async function* streamLlm(
system: instructions,
tools,
stopWhen: stepCountIs(1),
providerOptions: {
openai: {
reasoningEffort: "low",
reasoningSummary: "auto",
},
}
});
for await (const event of fullStream) {
// console.log("\n\n\t>>>>\t\tstream event", JSON.stringify(event));