We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29078f5 + d1249bd commit 7035674Copy full SHA for 7035674
README.md
@@ -712,6 +712,15 @@ new_messages.each { |msg|
712
}
713
```
714
715
+You can also update the metadata on messages, including messages that come from the assistant.
716
+
717
+```ruby
718
+metadata = {
719
+ user_id: "abc123"
720
+}
721
+message = client.messages.modify(id: message_id, thread_id: thread_id, parameters: { metadata: metadata })
722
+```
723
724
At any time you can list all runs which have been performed on a particular thread or are currently running:
725
726
```ruby
0 commit comments