mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
self review
This commit is contained in:
parent
65d50f8ad6
commit
f677ca5699
|
@ -115,7 +115,6 @@ export async function toolsAgentExecute(this: IExecuteFunctions): Promise<INodeE
|
||||||
| undefined;
|
| undefined;
|
||||||
|
|
||||||
const tools = (await getConnectedTools(this, true, false)) as Array<DynamicStructuredTool | Tool>;
|
const tools = (await getConnectedTools(this, true, false)) as Array<DynamicStructuredTool | Tool>;
|
||||||
console.log('tools', tools);
|
|
||||||
const outputParser = (await getOptionalOutputParsers(this))?.[0];
|
const outputParser = (await getOptionalOutputParsers(this))?.[0];
|
||||||
let structuredOutputParserTool: DynamicStructuredTool | undefined;
|
let structuredOutputParserTool: DynamicStructuredTool | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -389,11 +389,6 @@ const shouldShowWarning = computed(() => {
|
||||||
|
|
||||||
<template v-if="shouldShowWarning" #table-user-info>
|
<template v-if="shouldShowWarning" #table-user-info>
|
||||||
<div :class="$style.noToolsUsedAlert">
|
<div :class="$style.noToolsUsedAlert">
|
||||||
<!-- <N8nAlert
|
|
||||||
:title="i18n.baseText('ndv.output.noToolUsedInfo.title')"
|
|
||||||
:description="i18n.baseText('ndv.output.noToolUsedInfo.description')"
|
|
||||||
type="info"
|
|
||||||
/> -->
|
|
||||||
<N8nCallout theme="secondary">
|
<N8nCallout theme="secondary">
|
||||||
{{
|
{{
|
||||||
i18n.baseText('ndv.output.noToolUsedInfo.title') +
|
i18n.baseText('ndv.output.noToolUsedInfo.title') +
|
||||||
|
|
|
@ -1594,9 +1594,6 @@ defineExpose({ enterEditMode });
|
||||||
@active-row-changed="onItemHover"
|
@active-row-changed="onItemHover"
|
||||||
@display-mode-change="onDisplayModeChange"
|
@display-mode-change="onDisplayModeChange"
|
||||||
>
|
>
|
||||||
<!-- <template #table-user-info>
|
|
||||||
<slot name="table-user-info"></slot>
|
|
||||||
</template> -->
|
|
||||||
</LazyRunDataTable>
|
</LazyRunDataTable>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
|
|
||||||
|
|
|
@ -6,12 +6,7 @@ import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||||
import { getMappedExpression } from '@/utils/mappingUtils';
|
import { getMappedExpression } from '@/utils/mappingUtils';
|
||||||
import { getPairedItemId } from '@/utils/pairedItemUtils';
|
import { getPairedItemId } from '@/utils/pairedItemUtils';
|
||||||
import { shorten } from '@/utils/typesUtils';
|
import { shorten } from '@/utils/typesUtils';
|
||||||
import {
|
import type { GenericValue, IDataObject, INodeExecutionData } from 'n8n-workflow';
|
||||||
NodeHelpers,
|
|
||||||
type GenericValue,
|
|
||||||
type IDataObject,
|
|
||||||
type INodeExecutionData,
|
|
||||||
} from 'n8n-workflow';
|
|
||||||
import { computed, onMounted, ref, watch } from 'vue';
|
import { computed, onMounted, ref, watch } from 'vue';
|
||||||
import Draggable from './Draggable.vue';
|
import Draggable from './Draggable.vue';
|
||||||
import MappingPill from './MappingPill.vue';
|
import MappingPill from './MappingPill.vue';
|
||||||
|
@ -392,11 +387,11 @@ watch(focusedMappableInput, (curr) => {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div :class="[$style.dataDisplay, { [$style.highlight]: highlight }]">
|
<div :class="[$style.dataDisplay, { [$style.highlight]: highlight }]">
|
||||||
<slot name="table-user-info"></slot>
|
|
||||||
<table v-if="tableData.columns && tableData.columns.length === 0" :class="$style.table">
|
<table v-if="tableData.columns && tableData.columns.length === 0" :class="$style.table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th :class="$style.emptyCell"></th>
|
<th :class="$style.emptyCell"></th>
|
||||||
|
<th :class="$style.tableRightMargin"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -413,6 +408,7 @@ watch(focusedMappableInput, (curr) => {
|
||||||
>
|
>
|
||||||
<N8nInfoTip>{{ i18n.baseText('runData.emptyItemHint') }}</N8nInfoTip>
|
<N8nInfoTip>{{ i18n.baseText('runData.emptyItemHint') }}</N8nInfoTip>
|
||||||
</td>
|
</td>
|
||||||
|
<td :class="$style.tableRightMargin"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -482,6 +478,7 @@ watch(focusedMappableInput, (curr) => {
|
||||||
</span>
|
</span>
|
||||||
</N8nTooltip>
|
</N8nTooltip>
|
||||||
</th>
|
</th>
|
||||||
|
<th :class="$style.tableRightMargin"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<Draggable
|
<Draggable
|
||||||
|
@ -549,6 +546,7 @@ watch(focusedMappableInput, (curr) => {
|
||||||
</N8nTree>
|
</N8nTree>
|
||||||
</td>
|
</td>
|
||||||
<td v-if="columnLimitExceeded"></td>
|
<td v-if="columnLimitExceeded"></td>
|
||||||
|
<td :class="$style.tableRightMargin"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</Draggable>
|
</Draggable>
|
||||||
</table>
|
</table>
|
||||||
|
@ -567,7 +565,6 @@ watch(focusedMappableInput, (curr) => {
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-bottom: var(--spacing-3xl);
|
padding-bottom: var(--spacing-3xl);
|
||||||
padding-inline: var(--spacing-l);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
|
|
Loading…
Reference in a new issue