Skip to content

Commit

Permalink
Display connection error when failed to fetch models.
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Oct 17, 2024
1 parent cbe2f9a commit fc30a47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AiServer/wwwroot/mjs/components/MediaProviders.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ const SelectModels = {
if (apiComfy.succeeded) {
comfyModelsUrl.value = props.apiBaseUrl
comfyModels.value = apiComfy.response.results
connectionStatus.value = null
}
else {
connectionStatus.value = 'failure'
}
const apiModelMaps = await client.api(new GetComfyModelMappings());
// console.log("apiModelMaps", apiModelMaps)
Expand Down

0 comments on commit fc30a47

Please sign in to comment.