@vellumai/assistant 0.3.24 → 0.3.25
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/package.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"routing_intent": {
|
|
30
30
|
"type": "string",
|
|
31
31
|
"enum": ["single_channel", "multi_channel", "all_channels"],
|
|
32
|
-
"description": "How the reminder is routed at trigger time. single_channel
|
|
32
|
+
"description": "How the reminder is routed at trigger time. single_channel delivers to one best channel, multi_channel delivers to a subset, all_channels (default) delivers everywhere."
|
|
33
33
|
},
|
|
34
34
|
"routing_hints": {
|
|
35
35
|
"type": "object",
|
|
@@ -52,7 +52,7 @@ export function insertReminder(params: {
|
|
|
52
52
|
const db = getDb();
|
|
53
53
|
const id = uuid();
|
|
54
54
|
const now = Date.now();
|
|
55
|
-
const routingIntent = params.routingIntent ?? '
|
|
55
|
+
const routingIntent = params.routingIntent ?? 'all_channels';
|
|
56
56
|
const routingHints = params.routingHints ?? {};
|
|
57
57
|
const row = {
|
|
58
58
|
id,
|
|
@@ -38,7 +38,7 @@ export function executeReminderCreate(input: Record<string, unknown>): ToolExecu
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
// Validate routing_intent if provided
|
|
41
|
-
const routingIntent: RoutingIntent = (routingIntentRaw as RoutingIntent) ?? '
|
|
41
|
+
const routingIntent: RoutingIntent = (routingIntentRaw as RoutingIntent) ?? 'all_channels';
|
|
42
42
|
if (routingIntentRaw !== undefined && !VALID_ROUTING_INTENTS.has(routingIntentRaw)) {
|
|
43
43
|
return {
|
|
44
44
|
content: `Error: routing_intent must be one of: single_channel, multi_channel, all_channels`,
|