a2aproject / a2aproject/a2a-samples

AG2 sample uses OpenAI by default, inconsistent with other samples

Abierto
#454 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
1.8k
Forks
751
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The AG2 agent sample (`samples/python/agents/ag2/`) is hardcoded to use OpenAI (`gpt-4o-mini`) while most other samples in this repo default to Google Gemini via `GOOGLE_API_KEY`.

This means users following the demo UI setup (which provides a `GOOGLE_API_KEY`) cannot use the AG2 sample without also configuring a separate OpenAI key.

Switching the default to Gemini (with OpenAI as fallback) would make the AG2 sample consistent with the rest of the repo and simplify the getting-started experience.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.