Default NemoClaw create to vLLM experimental

This commit is contained in:
mmckeen-nv
2026-04-30 10:47:17 -07:00
parent 7c3984dfa2
commit 9de652bfb5
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ type CreateInferenceSettings = {
function parseCreateInferenceSettings(body: any): CreateInferenceSettings {
const raw = body?.createInference && typeof body.createInference === "object" ? body.createInference : {}
const requestedMode = typeof raw.mode === "string" ? raw.mode : "auto"
const requestedMode = typeof raw.mode === "string" ? raw.mode : "vllm"
const mode: CreateInferenceMode = requestedMode === "vllm" || requestedMode === "nim" ? requestedMode : "auto"
const model = typeof raw.model === "string" ? raw.model.trim() : ""
const apiKey = typeof raw.apiKey === "string" ? raw.apiKey.trim() : ""