mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-10 23:48:09 -05:00
improvement(ui): tool input subblock title and x placeholder
This commit is contained in:
committed by
Waleed Latif
parent
8171706f6c
commit
f48884aaf2
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user