Update a thread.
client = get_client(url="http://localhost:2024")
thread = await client.threads.update(
thread_id="my-thread-id",
metadata={"number":1},
ttl=43_200,
)Optional time-to-live in minutes for the thread. You can pass an
integer (minutes) or a mapping with keys ttl and optional
strategy (defaults to "delete").
Optional custom headers to include with the request.
Optional query parameters to include with the request.