mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
refactor: remove unnecessary as const assertion
This commit is contained in:
parent
69134c5903
commit
474e3a92b3
1 changed files with 1 additions and 2 deletions
|
|
@ -99,13 +99,12 @@ function parseHuggingFaceModel(model: HuggingFaceModel, provider?: HuggingFacePr
|
|||
supportsImages: false, // HuggingFace API doesn't provide this info yet.
|
||||
supportsPromptCache: false,
|
||||
supportsNativeTools: supportsTools,
|
||||
defaultToolProtocol: supportsTools ? ("native" as const) : undefined,
|
||||
defaultToolProtocol: supportsTools ? "native" : undefined,
|
||||
inputPrice: pricing?.input,
|
||||
outputPrice: pricing?.output,
|
||||
description,
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetches available models from HuggingFace
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue