fix: clean up 49 unused variables, catch params, and stale imports (#22695)
This commit is contained in:
parent
34213d4446
commit
cce05c1665
37 changed files with 32 additions and 94 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue