mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-14 10:25:37 +00:00
Update ui/litellm-dashboard/src/components/add_model/RouterConfigBuilder.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
parent
be23583d30
commit
af6ff6957d
@@ -54,7 +54,7 @@ const RouterConfigBuilder: React.FC<RouterConfigBuilderProps> = ({ modelInfo, va
|
||||
model: route.name || route.model || "", // handle both 'name' and 'model' fields
|
||||
utterances: route.utterances || [],
|
||||
description: route.description || "",
|
||||
score_threshold: route.score_threshold || 0.5,
|
||||
score_threshold: route.score_threshold ?? 0.5,
|
||||
};
|
||||
});
|
||||
return initializedRoutes;
|
||||
|
||||
Reference in New Issue
Block a user