Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partners[patch]: Fix flaky token counting tests #6000

Merged
merged 4 commits into from
Jul 8, 2024

Conversation

bracesproul
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Jul 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 9:10pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 9:10pm

@bracesproul bracesproul marked this pull request as ready for review July 8, 2024 20:52
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. auto:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Jul 8, 2024
Comment on lines +16 to +24
async function sleep(ms = 1000): Promise<void> {
return new Promise<void>((resolve) => {
setTimeout(resolve, ms);
});
}

afterEach(async () => {
await sleep();
});
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b/c anthropic rate limits. will remove if we can get our limits increased

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed here #6003

@bracesproul bracesproul merged commit 8f93bc5 into main Jul 8, 2024
37 checks passed
@bracesproul bracesproul deleted the brace/fix-token-tests branch July 8, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:bug Related to a bug, vulnerability, unexpected error with an existing feature size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant