MCPcopy Create free account
hub / github.com/Icecubesaad/OpenLLM-Studio / ChatInputProps

Interface ChatInputProps

src/components/ChatInput.tsx:3–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { useState, KeyboardEvent, useRef, useEffect } from 'react';
2
3interface 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
14export function ChatInput({
15 onSend,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected