mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-28 03:00:29 -04:00
fix(ui): minor changes; max zoom
This commit is contained in:
@@ -323,7 +323,7 @@ function WorkflowContent() {
|
||||
onDrop={onDrop}
|
||||
onDragOver={(e) => e.preventDefault()}
|
||||
fitView
|
||||
minZoom={0.4}
|
||||
minZoom={0.1}
|
||||
maxZoom={1}
|
||||
panOnScroll
|
||||
defaultEdgeOptions={{ type: 'custom' }}
|
||||
|
||||
@@ -35,15 +35,6 @@ export const ExaBlock: BlockConfig<ExaResponse> = {
|
||||
],
|
||||
value: () => 'exa_search',
|
||||
},
|
||||
// API Key (common)
|
||||
{
|
||||
id: 'apiKey',
|
||||
title: 'API Key',
|
||||
type: 'short-input',
|
||||
layout: 'full',
|
||||
placeholder: 'Enter your Exa API key',
|
||||
password: true,
|
||||
},
|
||||
// Search operation inputs
|
||||
{
|
||||
id: 'query',
|
||||
@@ -146,6 +137,15 @@ export const ExaBlock: BlockConfig<ExaResponse> = {
|
||||
layout: 'full',
|
||||
condition: { field: 'operation', value: 'exa_answer' },
|
||||
},
|
||||
// API Key (common)
|
||||
{
|
||||
id: 'apiKey',
|
||||
title: 'API Key',
|
||||
type: 'short-input',
|
||||
layout: 'full',
|
||||
placeholder: 'Enter your Exa API key',
|
||||
password: true,
|
||||
},
|
||||
],
|
||||
tools: {
|
||||
access: ['exa_search', 'exa_get_contents', 'exa_find_similar_links', 'exa_answer'],
|
||||
|
||||
Reference in New Issue
Block a user