feat(vertexai): add integration test recordings for vertexai provider#5219
feat(vertexai): add integration test recordings for vertexai provider#5219Artemon-line wants to merge 3 commits intollamastack:mainfrom
Conversation
|
@Artemon-line if you're going to be adding integration tests, please also add vertex to the auto re-record mechanism that was just introduced |
|
✅ Recordings committed successfully Recordings from the integration tests have been committed to this PR. |
60e4f77 to
8dcb7af
Compare
|
This pull request has merge conflicts that must be resolved before it can be merged. @Artemon-line please rebase it. https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork |
266ebef to
4fa9772
Compare
cab9442 to
576c237
Compare
|
This pull request has merge conflicts that must be resolved before it can be merged. @Artemon-line please rebase it. https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork |
|
This pull request has merge conflicts that must be resolved before it can be merged. @Artemon-line please rebase it. https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork |
Seems like we need to implement this first: #5272 |
Add vertexai to the CI responses test suite, enabling integration testing of the vertexai provider. Recordings will be auto-generated by the CI recording workflow after the WIF authentication PR (llamastack#5276) merges. - Add vertexai setup definition to tests/integration/suites.py - Add vertexai entry to CI matrix (ci_matrix.json) - Register vertexai model and provider in ci-tests distribution template - Add google-genai SDK patching to api_recorder.py for record/replay - Add vertexai-specific test skips for unsupported features (logprobs, service_tier, file search filters, incomplete_details length) - Add CI workflow env vars for vertexai in integration-tests.yml - Add VERTEX_AI env var passthrough in integration-tests.sh Closes llamastack#5102 Signed-off-by: Artemy Hladenko <ahladenk@redhat.com> Signed-off-by: Artemy <ahladenk@redhat.com>
b6ad0bc to
4bf3219
Compare
Resolve conflict in tests/integration/suites.py caused by tgi setup removal upstream. Keep vertexai setup definition, drop removed tgi entry. Signed-off-by: Artemy Hladenko <ahladenk@redhat.com> Signed-off-by: Artemy <ahladenk@redhat.com>
|
This pull request has merge conflicts that must be resolved before it can be merged. @Artemon-line please rebase it. https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork |
Keep vertexai skip and adopt upstream watsonx skip message update. Signed-off-by: Artemy Hladenko <ahladenk@redhat.com> Signed-off-by: Artemy <ahladenk@redhat.com>
Summary
Adds vertexai to the CI responses test suite, enabling integration testing of the vertexai provider. Recordings will be auto-generated by the CI recording workflow after the WIF authentication PR merges.
vertexaisetup definition totests/integration/suites.pywithpublishers/google/models/gemini-2.0-flashvertexaientry to CI matrix (ci_matrix.json)ci_tests.py) soconfig.yamlis generated correctly bydistro-codegengoogle-genaiSDK patching toapi_recorder.pyfor record/replay (patchesAsyncModels.generate_content,generate_content_stream,embed_content)integration-tests.ymlVERTEX_AI_PROJECT/VERTEX_AI_LOCATIONenv var passthrough inintegration-tests.shCloses #5102
Blocked by: #5276 — GCP Workload Identity Federation needed for Vertex AI CI authentication. After #5276 merges, the recording workflow will auto-generate and commit vertexai recordings via
commit-recordings.yml.Test Plan