Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
chore: update linter (#4897)
Shubham Naik568c42ab0852
diff --git a/examples/streaming/streaming_demo.ts b/examples/streaming/streaming_demo.tsindex 4b60e1be8..6cc56c803 100644--- a/examples/streaming/streaming_demo.ts+++ b/examples/streaming/streaming_demo.ts@@ -1,4 +1,6 @@#!/usr/bin/env tsx+/* eslint-disable @typescript-eslint/no-non-null-assertion */+/*** Minimal TypeScript examples showing Letta's streaming API.* Demonstrates both step streaming (default) and token streaming modes.@@ -20,6 +22,7 @@ async function stepStreamingExample(client: LettaClient, agentId: string): Promifor await (const chunk of stream as AsyncIterable<LettaMessage>) {// Each chunk is a complete messageif (chunk.messageType === 'assistant_message') {+ // eslint-disable-next-line @typescript-eslint/no-explicit-anyconsole.log((chunk as any).content);}}@@ -49,6 +52,7 @@ async function tokenStreamingExample(client: LettaClient, agentId: string): Prom}// Accumulate and print content+ // eslint-disable-next-line @typescript-eslint/no-explicit-anyconst contentChunk = (chunk as any).content || '';messageAccumulators.set(msgId, messageAccumulators.get(msgId)! + contentChunk);process.stdout.write(contentChunk);@@ -99,4 +103,4 @@ async function main(): Promise<void> {}// Run the example-main().catch(console.error);\ No newline at end of file+main().catch(console.error);