Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

refactor: Fix void operator linting issues (#13998)

Ben Bachem8003ff90607b
diff --git a/web/src/features/in-app-agent/server/agent.ts b/web/src/features/in-app-agent/server/agent.ts
index 464a363b0c..7b711ef4df 100644
--- a/web/src/features/in-app-agent/server/agent.ts
+++ b/web/src/features/in-app-agent/server/agent.ts
@@ -113,7 +113,7 @@ export function createAgUiStream(params: {
finished = true;
try {
- void Promise.resolve(params.options.onFinish?.()).catch((error) => {
+ Promise.resolve(params.options.onFinish?.()).catch((error) => {
console.error("Error in agent stream cleanup:", error);
});
} catch (error) {
@@ -201,7 +201,7 @@ export function createAgUiStream(params: {
closed = true;
removeAbortHandler();
subscription?.unsubscribe();
- void adapter.interrupt().catch(() => undefined);
+ adapter.interrupt().catch(() => undefined);
finish();
},
});