fix: clean up 49 unused variables, catch params, and stale imports (#22695)
This commit is contained in:
@@ -27,7 +27,7 @@ const sessions = new Map<string, { client: any; server: any; sessionId: string;
|
||||
const part = event.properties.part
|
||||
if (part.type === "tool") {
|
||||
// Find the session for this tool update
|
||||
for (const [sessionKey, session] of sessions.entries()) {
|
||||
for (const [_sessionKey, session] of sessions.entries()) {
|
||||
if (session.sessionId === part.sessionID) {
|
||||
handleToolUpdate(part, session.channel, session.thread)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user