Skip to content

[Ai] Fix test code to point to the right resource dir #6932

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

Merged
merged 11 commits into from
May 6, 2025
Merged

Conversation

rlazo
Copy link
Collaborator

@rlazo rlazo commented May 3, 2025

The devAPI helper method should read from the googleai/ directory instead of the vertexai/ one.

Additionally, fixed tests broken by the change.

rlazo added 3 commits May 2, 2025 13:21
The devAPI helper method should read from the `googleai/` directory
instead of the `vertexai/` one.
Tests were failing because they were looking at the finish reason in
every data chunck instead of the last one.
Copy link
Contributor

github-actions bot commented May 3, 2025

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

Copy link
Contributor

github-actions bot commented May 3, 2025

Vertex AI Mock Responses Check ⚠️

A newer major version of the mock responses for Vertex AI unit tests is available. update_responses.sh should be updated to clone the latest version of the responses: v11.1

@google-oss-bot
Copy link
Contributor

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 3, 2025

Copy link
Contributor

github-actions bot commented May 3, 2025

Test Results

 22 files  ±0   22 suites  ±0   34s ⏱️ -1s
100 tests ±0  100 ✅ ±0  0 💤 ±0  0 ❌ ±0 
200 runs  ±0  200 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 04dc8d0. ± Comparison against base commit 24dd7c4.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 3, 2025

Size Report 1

Affected Products

  • firebase-ai

    TypeBase (24dd7c4)Merge (3459961)Diff
    aar818 kB818 kB-5 B (-0.0%)
    apk (release)9.52 MB9.52 MB+16 B (+0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/vobwOG0bz6.html

@rlazo rlazo requested review from davidmotson and daymxn and removed request for davidmotson May 3, 2025 03:20
@rlazo
Copy link
Collaborator Author

rlazo commented May 5, 2025

FirebaseExtended/vertexai-sdk-test-data#38 Introduces the fix necessary to get the tests running

@rlazo rlazo requested review from emilypgoogle and removed request for davidmotson May 5, 2025 20:33
@rlazo rlazo merged commit bbe3de1 into main May 6, 2025
31 checks passed
@rlazo rlazo deleted the rl.ai.fix.path branch May 6, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants