(sessionId: string)
| 108 | const active = sessions.find((s) => s.sessionId === activeSessionId); |
| 109 | |
| 110 | function go(sessionId: string) { |
| 111 | if (sessionId === activeSessionId) return; |
| 112 | start(() => |
| 113 | router.push(projectHref(projectSlug, `/agents/${agentSlug}/chat/${sessionId}`)), |
| 114 | ); |
| 115 | } |
| 116 | |
| 117 | function newThread() { |
| 118 | const id = crypto.randomUUID(); |
no test coverage detected