fix(ui): minor changes; max zoom

This commit is contained in:
Emir Karabeg
2025-03-04 10:29:41 -08:00
parent d117be8764
commit 2799651f05
2 changed files with 10 additions and 10 deletions

View File

@@ -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' }}

View File

@@ -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'],