a2aproject / a2aproject/a2a-samples

AG2 sample uses OpenAI by default, inconsistent with other samples

未关闭
#454 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
1.8k
派生
751
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。