Fix formatting

This commit is contained in:
Ola Hungerford
2025-02-14 07:33:37 -07:00
parent f6860a88f9
commit 133b785f79
3 changed files with 104 additions and 78 deletions

View File

@@ -192,12 +192,14 @@ const ToolsTab = ({
) : prop.type === "object" ? (
<div className="mt-1">
<DynamicJsonForm
schema={{
type: 'object',
properties: prop.properties,
description: prop.description,
} as JsonSchemaType}
value={params[key] as JsonValue ?? {}}
schema={
{
type: "object",
properties: prop.properties,
description: prop.description,
} as JsonSchemaType
}
value={(params[key] as JsonValue) ?? {}}
onChange={(newValue: JsonValue) => {
setParams({
...params,
@@ -226,7 +228,7 @@ const ToolsTab = ({
)}
</div>
);
}
},
)}
<Button onClick={() => callTool(selectedTool.name, params)}>
<Send className="w-4 h-4 mr-2" />