This commit is contained in:
Saoud Rizwan
2024-10-08 02:43:41 -04:00
parent da505170d4
commit e6d6ca5c56
3 changed files with 18 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ const OpenRouterModelPicker: React.FC = () => {
const dropdownListRef = useRef<HTMLDivElement>(null)
const handleModelChange = (newModelId: string) => {
// could be setting invalid model id/undefined info but validation will catch it
setApiConfiguration({
...apiConfiguration,
openRouterModelId: newModelId,