| 1 | import { useState, KeyboardEvent, useRef, useEffect } from 'react'; |
| 2 | |
| 3 | interface ChatInputProps { |
| 4 | onSend: (content: string) => void; |
| 5 | onStop?: () => void; |
| 6 | disabled?: boolean; |
| 7 | placeholder?: string; |
| 8 | selectedModel: string; |
| 9 | availableModels: string[]; |
| 10 | onModelChange: (model: string) => void; |
| 11 | isGenerating?: boolean; |
| 12 | } |
| 13 | |
| 14 | export function ChatInput({ |
| 15 | onSend, |
nothing calls this directly
no outgoing calls
no test coverage detected