Skip to content

Commit 861a51c

Browse files
authored
Merge pull request #487 from thejcannon/patch-2
Hint to LLM to add the period to timestamps
2 parents 180ad3d + 7fd318d commit 861a51c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/slack/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const replyToThreadTool: Tool = {
102102
},
103103
thread_ts: {
104104
type: "string",
105-
description: "The timestamp of the parent message",
105+
description: "The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it.",
106106
},
107107
text: {
108108
type: "string",
@@ -168,7 +168,7 @@ const getThreadRepliesTool: Tool = {
168168
},
169169
thread_ts: {
170170
type: "string",
171-
description: "The timestamp of the parent message",
171+
description: "The timestamp of the parent message in the format '1234567890.123456'. Timestamps in the format without the period can be converted by adding the period such that 6 numbers come after it.",
172172
},
173173
},
174174
required: ["channel_id", "thread_ts"],

0 commit comments

Comments
 (0)