fix linting ui

This commit is contained in:
Ishaan Jaff 2025-04-03 22:32:56 -07:00
parent f6c2b86903
commit c8468b71c8

View file

@ -86,6 +86,10 @@ const ChatUI: React.FC<ChatUIProps> = ({
// Fetch model info and set the default selected model
const loadModels = async () => {
try {
if (!userApiKey) {
console.log("userApiKey is missing");
return;
}
const uniqueModels = await fetchAvailableModels(
userApiKey,
);