forked from phoenix/litellm-mirror
ui - show retry policy for errors
This commit is contained in:
parent
e62d8e9bc9
commit
43b50b7151
1 changed files with 15 additions and 6 deletions
|
@ -1254,12 +1254,21 @@ const handleEditSubmit = async (formValues: Record<string, any>) => {
|
||||||
</Title>
|
</Title>
|
||||||
<Text className="mb-6">How many retries should be attempted based on the Exception</Text>
|
<Text className="mb-6">How many retries should be attempted based on the Exception</Text>
|
||||||
{retry_policy_map &&
|
{retry_policy_map &&
|
||||||
Object.keys(retry_policy_map).map((key, idx) => (
|
<table>
|
||||||
<div key={idx} className="flex justify-start">
|
<tbody>
|
||||||
|
{Object.keys(retry_policy_map).map((key, idx) => (
|
||||||
|
<tr key={idx} className="flex justify-between items-center mt-2">
|
||||||
|
<td>
|
||||||
<Text>{key}</Text>
|
<Text>{key}</Text>
|
||||||
<InputNumber className="mr-5" />
|
</td>
|
||||||
</div>
|
<td>
|
||||||
|
<InputNumber className="ml-5" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
))}
|
))}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
}
|
||||||
|
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue