This commit is contained in:
seb
2026-10-17 02:36:24 +02:00
parent da1254b0b1
commit fd21cb7319
2 changed files with 2 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ import { TOOL_DESCRIPTIONS, TOOL_PARAMETER_DESCRIPTIONS } from './prompts.js';
/**
* Creates the draft_delivery_manifest tool.
* Stores extracted invoice/delivery-note data: header metadata (basedata), notes, and product line items.
* Stores extracted invoice/delivery-note data: header metadata (basedata), and product line items.
*/
export function createDraftDeliveryManifestTool() {
const P = TOOL_PARAMETER_DESCRIPTIONS.draft_delivery_manifest;
@@ -40,13 +40,6 @@ export function createDraftDeliveryManifestTool() {
],
description: P.basedata,
},
notes: {
anyOf: [
{ type: 'array', items: { type: 'string' } },
{ type: 'null' },
],
description: P.notes,
},
items: {
anyOf: [
{

View File

@@ -107,7 +107,7 @@ export const TOOL_DESCRIPTIONS = {
'and provide these paths in the subagent instructions.',
draft_delivery_manifest:
'Stores extracted invoice/delivery-note data: header metadata (basedata), notes, and product line items. Each component is strictly optional.',
'Stores extracted invoice/delivery-note data: header metadata (basedata), and product line items. Each component is strictly optional.',
};
// #endregion
@@ -269,7 +269,6 @@ export const TOOL_PARAMETER_DESCRIPTIONS = {
lieferantName: 'Lieferant name.',
manifestNr: 'Lieferscheinnummer or Rechnungsnummer.',
manifestType: 'Document type.',
notes: 'New noteworthy details (in German), for a human to double-check the result.',
items: 'New product line items.',
numberOfItemsToAdd: 'Number of NEW line items being added in this call.',
items_list: 'Invoice/delivery product line items.',