Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit 474e3a9

Browse files
committed
refactor: remove unnecessary as const assertion
1 parent 69134c5 commit 474e3a9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/api/providers/fetchers/huggingface.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,12 @@ function parseHuggingFaceModel(model: HuggingFaceModel, provider?: HuggingFacePr
9999
supportsImages: false, // HuggingFace API doesn't provide this info yet.
100100
supportsPromptCache: false,
101101
supportsNativeTools: supportsTools,
102-
defaultToolProtocol: supportsTools ? ("native" as const) : undefined,
102+
defaultToolProtocol: supportsTools ? "native" : undefined,
103103
inputPrice: pricing?.input,
104104
outputPrice: pricing?.output,
105105
description,
106106
}
107107
}
108-
109108
/**
110109
* Fetches available models from HuggingFace
111110
*

0 commit comments

Comments
 (0)