Skip to content

Support overriding randomness source for ids#186

Merged
msullivan merged 1 commit into
mainfrom
random
Jun 26, 2026
Merged

Support overriding randomness source for ids#186
msullivan merged 1 commit into
mainfrom
random

Conversation

@msullivan

Copy link
Copy Markdown
Contributor

Make message id generation use Random and add use_random and
use_random_async @contextmanagers for oerriding it.

The main goal here is to support durable execution frameworks where we
need to be able to provide a deterministic randomness source.

Make message id generation use Random and add use_random and
use_random_async @contextmanagers for oerriding it.

The main goal here is to support durable execution frameworks where we
need to be able to provide a deterministic randomness source.
@msullivan msullivan requested a review from anbuzin June 26, 2026 01:16
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-python Ready Ready Preview, Comment Jun 26, 2026 1:18am

@msullivan msullivan merged commit f07e50a into main Jun 26, 2026
7 checks passed
@msullivan msullivan deleted the random branch June 26, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants