mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +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:
parent
be23583d30
commit
af6ff6957d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue