mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix linting ui
This commit is contained in:
parent
f6c2b86903
commit
c8468b71c8
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue