fix(ui): call tool when no arguments needed (#11012)

Co-authored-by: wagnerjt <wagnerjt@github.com>
This commit is contained in:
Tyler Wagner 2025-05-21 14:06:22 -07:00 committed by GitHub
parent 73727abd84
commit b6508731dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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">