diff --git a/.changeset/rate-limit-on-results.md b/.changeset/rate-limit-on-results.md new file mode 100644 index 0000000..2d57f66 --- /dev/null +++ b/.changeset/rate-limit-on-results.md @@ -0,0 +1,5 @@ +--- +'@github-tools/sdk': minor +--- + +Object-shaped tool results now include `rateLimit` (`remaining`, `limit`, `reset`, `resource`) from the last GitHub response. The field is stripped before the model sees the output. Array-shaped list tools are unchanged. 403/429 errors include remaining/reset in the message. diff --git a/apps/chat/app/components/tool/Github.vue b/apps/chat/app/components/tool/Github.vue index 04f1912..e3e5af6 100644 --- a/apps/chat/app/components/tool/Github.vue +++ b/apps/chat/app/components/tool/Github.vue @@ -1,4 +1,5 @@