Merge pull request #487 from thejcannon/patch-2

Hint to LLM to add the period to timestamps
This commit is contained in:
David Soria Parra 2025-01-15 20:20:57 +00:00 • committed by GitHub
commit 861a51c35c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,7 @@ const replyToThreadTool: Tool = {
}, },
thread_ts: { thread_ts: {
type: "string", 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: { text: {
type: "string", type: "string",
@ -168,7 +168,7 @@ const getThreadRepliesTool: Tool = {
}, },
thread_ts: { thread_ts: {
type: "string", 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"], required: ["channel_id", "thread_ts"],