-
Notifications
You must be signed in to change notification settings - Fork 939
VertexAI: add test cases for countTokens() #8317
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
Conversation
|
Changeset File Check
|
Size Report 1Affected ProductsNo changes between base commit (a90255a) and merge commit (f6e2cd6).Test Logs |
Size Analysis Report 1Affected ProductsNo changes between base commit (a90255a) and merge commit (f6e2cd6).Test Logs |
.changeset/fuzzy-kids-grin.md
Outdated
@@ -0,0 +1,2 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file intentionally "blank"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it was to pass the changeset check. I don't know if it's required, but @dlarocque said to add an empty one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, you don't need to do this. Our changeset checker CI workflow is broken so it will error, but it's not a required check. Sorry about that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my bad!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This adds test cases for countTokens() using mock responses from iOS.
Background
I'm an intern on the Android core team, and part of the goal of my intern project is to improve VertexAI test coverage by sharing test cases between our client SDKs. This is a proof of concept of that.