a2aproject / a2aproject/a2a-samples

AG2 sample uses OpenAI by default, inconsistent with other samples

Đang mở
#454 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
1.8k
Fork
751
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.