Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#12,990 1 comentário 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 5 dias

Ninguém assumiu esta issue ainda.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.
Linguagem predominante
Jupyter Notebook
Estrelas
8.1k
Forks
6.7k
Merge médio
4d 12h
PRs com merge (30d)
9

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de GoogleCloudPlatform/python-docs-samples

Todas as issues de GoogleCloudPlatform/python-docs-samples

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.