()
| 13 | const isDownloading = downloadProgress?.isDownloading || false; |
| 14 | |
| 15 | const handleUseInChat = () => { |
| 16 | if (onUseInChat) { |
| 17 | onUseInChat(model.name); |
| 18 | } else { |
| 19 | // Fallback: store in localStorage and dispatch event |
| 20 | localStorage.setItem('selected-model', model.name); |
| 21 | window.dispatchEvent(new CustomEvent('navigate-to-chat', { detail: { model: model.name } })); |
| 22 | } |
| 23 | }; |
| 24 | |
| 25 | return ( |
| 26 | <div className="bg-dark-surface border border-dark-border rounded-xl p-5 hover:border-dark-accent hover:shadow-glow-sm transition-all group"> |
nothing calls this directly
no outgoing calls
no test coverage detected