Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[generative_ai] Missed regressions in the code samples because of targeted test runs

Aperta
#12,990 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

api: vertex-ai samples triage me type: bug

Describe the issue

We're starting to miss regressions in the code samples for generative_ai because of migrating the CI to do targeted (per feature directory) test runs. Meaning, when there are no modifications done in a feature directory, the tests will not run in this directory and the issue will silently live there, potentially for a long time.

We need to run the entire test suite regularly to ensure all code samples remain functional.

Examples

  1. function_calling/basic_example.py is not working anymore with Gemini Flash model. I discovered this when updated a different sample in this directory (see the comment).
  2. Two function calling with OpenAI samples — function_calling/chat_function_calling_basic.py & function_calling/chat_function_calling_config.py — are not working anymore. Same story here: I discovered the issue only because I updated a different file in this feature directory. See this comment.
Lingua principale
Jupyter Notebook
Stelle
8.1k
Fork
6.7k
Merge medio
4g 4h
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GoogleCloudPlatform/python-docs-samples

Tutte le issue di GoogleCloudPlatform/python-docs-samples

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.