self review

This commit is contained in:
Charlie Kolb 2024-11-08 14:20:02 +01:00
parent 65d50f8ad6
commit f677ca5699
No known key found for this signature in database
4 changed files with 5 additions and 17 deletions

View file

@ -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;
/**

View file

@ -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') +

View file

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

View file

@ -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 {