mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
fix(ui): call tool when no arguments needed (#11012)
Co-authored-by: wagnerjt <wagnerjt@github.com>
This commit is contained in:
parent
73727abd84
commit
b6508731dc
1 changed files with 3 additions and 1 deletions
|
|
@ -173,7 +173,9 @@ export function ToolTestPanel({
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
) : schema.properties === undefined ? (
|
||||
<p className="text-xs">None</p>
|
||||
): (
|
||||
Object.entries(schema.properties).map(([key, prop]) => (
|
||||
<div key={key} className="mb-4">
|
||||
<label className="block text-sm font-medium text-gray-700 mb-1">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue