Skip to content

Commit 992d18b

Browse files
committed
Remove console.log
1 parent 8d1ecd6 commit 992d18b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/api/providers/fetchers/modelharbor.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,13 @@ interface ModelHarborApiResponse {
5353

5454
export async function getModelHarborModels(): Promise<Record<string, ModelInfo>> {
5555
try {
56-
console.log("🚀 Fetching ModelHarbor models from extension host...")
5756
const response = await fetch("https://api.modelharbor.com/v1/model/info")
5857

5958
if (!response.ok) {
6059
throw new Error(`ModelHarbor API responded with status ${response.status}`)
6160
}
6261

6362
const data: ModelHarborApiResponse = await response.json()
64-
console.log(`📊 Received ${data.data.length} model entries from ModelHarbor API`)
6563

6664
// Transform ModelHarbor response to our ModelInfo format
6765
const models: Record<string, ModelInfo> = {}
@@ -117,14 +115,6 @@ export async function getModelHarborModels(): Promise<Record<string, ModelInfo>>
117115
}
118116
}
119117

120-
console.log(
121-
`✅ Successfully processed ${processedCount} unique ModelHarbor models out of ${data.data.length} entries`,
122-
)
123-
console.log(
124-
"Available models:",
125-
sortedModelNames.slice(0, 5).concat(sortedModelNames.length > 5 ? ["..."] : []),
126-
)
127-
128118
return sortedModels
129119
} catch (error) {
130120
console.error("❌ Failed to fetch ModelHarbor models:", error)

0 commit comments

Comments
 (0)