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;
|
||||
|
||||
const tools = (await getConnectedTools(this, true, false)) as Array<DynamicStructuredTool | Tool>;
|
||||
console.log('tools', tools);
|
||||
const outputParser = (await getOptionalOutputParsers(this))?.[0];
|
||||
let structuredOutputParserTool: DynamicStructuredTool | undefined;
|
||||
/**
|
||||
|
|
|
@ -389,11 +389,6 @@ const shouldShowWarning = computed(() => {
|
|||
|
||||
<template v-if="shouldShowWarning" #table-user-info>
|
||||
<div :class="$style.noToolsUsedAlert">
|
||||
<!-- <N8nAlert
|
||||
:title="i18n.baseText('ndv.output.noToolUsedInfo.title')"
|
||||
:description="i18n.baseText('ndv.output.noToolUsedInfo.description')"
|
||||
type="info"
|
||||
/> -->
|
||||
<N8nCallout theme="secondary">
|
||||
{{
|
||||
i18n.baseText('ndv.output.noToolUsedInfo.title') +
|
||||
|
|
|
@ -1594,9 +1594,6 @@ defineExpose({ enterEditMode });
|
|||
@active-row-changed="onItemHover"
|
||||
@display-mode-change="onDisplayModeChange"
|
||||
>
|
||||
<!-- <template #table-user-info>
|
||||
<slot name="table-user-info"></slot>
|
||||
</template> -->
|
||||
</LazyRunDataTable>
|
||||
</Suspense>
|
||||
|
||||
|
|
|
@ -6,12 +6,7 @@ import { useWorkflowsStore } from '@/stores/workflows.store';
|
|||
import { getMappedExpression } from '@/utils/mappingUtils';
|
||||
import { getPairedItemId } from '@/utils/pairedItemUtils';
|
||||
import { shorten } from '@/utils/typesUtils';
|
||||
import {
|
||||
NodeHelpers,
|
||||
type GenericValue,
|
||||
type IDataObject,
|
||||
type INodeExecutionData,
|
||||
} from 'n8n-workflow';
|
||||
import type { GenericValue, IDataObject, INodeExecutionData } from 'n8n-workflow';
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
import Draggable from './Draggable.vue';
|
||||
import MappingPill from './MappingPill.vue';
|
||||
|
@ -392,11 +387,11 @@ watch(focusedMappableInput, (curr) => {
|
|||
|
||||
<template>
|
||||
<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">
|
||||
<thead>
|
||||
<tr>
|
||||
<th :class="$style.emptyCell"></th>
|
||||
<th :class="$style.tableRightMargin"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -413,6 +408,7 @@ watch(focusedMappableInput, (curr) => {
|
|||
>
|
||||
<N8nInfoTip>{{ i18n.baseText('runData.emptyItemHint') }}</N8nInfoTip>
|
||||
</td>
|
||||
<td :class="$style.tableRightMargin"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -482,6 +478,7 @@ watch(focusedMappableInput, (curr) => {
|
|||
</span>
|
||||
</N8nTooltip>
|
||||
</th>
|
||||
<th :class="$style.tableRightMargin"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<Draggable
|
||||
|
@ -549,6 +546,7 @@ watch(focusedMappableInput, (curr) => {
|
|||
</N8nTree>
|
||||
</td>
|
||||
<td v-if="columnLimitExceeded"></td>
|
||||
<td :class="$style.tableRightMargin"></td>
|
||||
</tr>
|
||||
</Draggable>
|
||||
</table>
|
||||
|
@ -567,7 +565,6 @@ watch(focusedMappableInput, (curr) => {
|
|||
word-break: normal;
|
||||
height: 100%;
|
||||
padding-bottom: var(--spacing-3xl);
|
||||
padding-inline: var(--spacing-l);
|
||||
}
|
||||
|
||||
.table {
|
||||
|
|
Loading…
Reference in a new issue