Skip to content

Commit

Permalink
Merge pull request #487 from thejcannon/patch-2
Browse files Browse the repository at this point in the history
Hint to LLM to add the period to timestamps
  • Loading branch information
dsp-ant authored Jan 15, 2025
2 parents 180ad3d + 7fd318d commit 861a51c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const replyToThreadTool: Tool = {
},
thread_ts: {
type: "string",
description: "The timestamp of the parent message",
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.",
},
text: {
type: "string",
Expand Down Expand Up @@ -168,7 +168,7 @@ const getThreadRepliesTool: Tool = {
},
thread_ts: {
type: "string",
description: "The timestamp of the parent message",
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.",
},
},
required: ["channel_id", "thread_ts"],
Expand Down

0 comments on commit 861a51c

Please sign in to comment.