@christianriedl/utils 1.0.143 → 1.0.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/iOpenAI.d.ts
CHANGED
|
@@ -46,7 +46,8 @@ export interface ITool {
|
|
|
46
46
|
export interface IMcpTool extends ITool {
|
|
47
47
|
type: 'mcp';
|
|
48
48
|
server_label: string;
|
|
49
|
-
server_url
|
|
49
|
+
server_url?: string;
|
|
50
|
+
connector_id?: string;
|
|
50
51
|
allowed_tools?: string[];
|
|
51
52
|
require_approval?: 'always' | 'never' | null;
|
|
52
53
|
server_description?: string;
|
package/package.json
CHANGED
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
alert('Tool with this name already exists, please choose another name !');
|
|
134
134
|
return;
|
|
135
135
|
}
|
|
136
|
-
const mcpTool: IMcpTool = { type: 'mcp', server_label: name, server_url: '<set url>', require_approval: 'never' };
|
|
136
|
+
const mcpTool: IMcpTool = { type: 'mcp', server_label: name, server_url: '<set url>', connector_id: '<set connector id>' require_approval: 'never' };
|
|
137
137
|
tools[name] = mcpTool;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -377,10 +377,13 @@
|
|
|
377
377
|
<v-col cols="2">
|
|
378
378
|
<v-text-field v-model="tool.server_label" type="string " hide-details disabled label="mcp" density="compact" @change="onToolChange"></v-text-field>
|
|
379
379
|
</v-col>
|
|
380
|
-
<v-col cols="
|
|
380
|
+
<v-col cols="3">
|
|
381
381
|
<v-text-field v-model="tool.server_url" type="string" hide-details clearable label="Url" density="compact" @change="onToolChange"></v-text-field>
|
|
382
382
|
</v-col>
|
|
383
|
-
<v-col cols="
|
|
383
|
+
<v-col cols="2">
|
|
384
|
+
<v-text-field v-model="tool.connector_id" type="string" hide-details clearable label="Connector Id" density="compact" @change="onToolChange"></v-text-field>
|
|
385
|
+
</v-col>
|
|
386
|
+
<v-col cols="2">
|
|
384
387
|
<v-text-field v-model="tool.server_description" type="string" hide-details clearable label="Description" density="compact" @change="onToolChange"></v-text-field>
|
|
385
388
|
</v-col>
|
|
386
389
|
<v-col cols="props.isMobile ? 2 : 1">
|