improvement(ui): tool input subblock title and x placeholder

This commit is contained in:
Emir Karabeg
2025-03-01 12:19:01 -08:00
committed by Waleed Latif
parent 8171706f6c
commit f48884aaf2
2 changed files with 2 additions and 2 deletions

View File

@@ -502,7 +502,7 @@ export function ToolInput({ blockId, subBlockId }: ToolInputProps) {
{requiredParams.map((param) => (
<div key={param.id} className="space-y-1.5 relative">
<div className="text-xs font-medium text-muted-foreground">
{param.id}
{param.id === 'apiKey' ? 'API Key' : param.id}
</div>
<div className="relative">
<ShortInput

View File

@@ -12,7 +12,7 @@ export const writeTool: ToolConfig<XWriteParams, XWriteResponse> = {
type: 'string',
required: true,
requiredForToolCall: true,
description: 'X API Bearer token for authentication',
description: 'X API Bearer token',
},
text: {
type: 'string',