[PR #32] [MERGED] Make model configurable, and get API key from runtime config #33

Closed
opened 2026-02-16 08:17:50 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/oap-agent-supervisor/pull/32
Author: @nhuang-lc
Created: 7/2/2025
Status: Merged
Merged: 7/5/2025
Merged by: @nhuang-lc

Base: mainHead: nh/oap-api-key


📝 Commits (4)

  • a410a41 Make supervisor model configurable, and allow user to get API key from config
  • 0886fd0 Update logic to fall back to env var
  • 1a2d0bb Fix bug
  • 9262d4b Remove fallback flag, always check config

📊 Changes

5 files changed (+1091 additions, -733 deletions)

View changed files

📝 .env.example (+1 -1)
📝 README.md (+5 -0)
📝 oap_supervisor/agent.py (+33 -4)
📝 pyproject.toml (+3 -0)
📝 uv.lock (+1049 -728)

📄 Description

Make the supervisor model configurable and default to gpt-4.1

Add env var to get api keys from runtime config

Added anthropic and google dependencies


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/oap-agent-supervisor/pull/32 **Author:** [@nhuang-lc](https://github.com/nhuang-lc) **Created:** 7/2/2025 **Status:** ✅ Merged **Merged:** 7/5/2025 **Merged by:** [@nhuang-lc](https://github.com/nhuang-lc) **Base:** `main` ← **Head:** `nh/oap-api-key` --- ### 📝 Commits (4) - [`a410a41`](https://github.com/langchain-ai/oap-agent-supervisor/commit/a410a41a085795ce8ac1cd21673689c6e40fe778) Make supervisor model configurable, and allow user to get API key from config - [`0886fd0`](https://github.com/langchain-ai/oap-agent-supervisor/commit/0886fd0b87e773ef46f38d76c9680fea62e62670) Update logic to fall back to env var - [`1a2d0bb`](https://github.com/langchain-ai/oap-agent-supervisor/commit/1a2d0bb338fe99c627220d50bda2ec4ae3245398) Fix bug - [`9262d4b`](https://github.com/langchain-ai/oap-agent-supervisor/commit/9262d4b9a6198d13e614b0bc705ee6a5737143b3) Remove fallback flag, always check config ### 📊 Changes **5 files changed** (+1091 additions, -733 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+1 -1) 📝 `README.md` (+5 -0) 📝 `oap_supervisor/agent.py` (+33 -4) 📝 `pyproject.toml` (+3 -0) 📝 `uv.lock` (+1049 -728) </details> ### 📄 Description Make the supervisor model configurable and default to gpt-4.1 Add env var to get api keys from runtime config Added anthropic and google dependencies --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 08:17:50 -05:00
yindo closed this issue 2026-02-16 08:17:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/oap-agent-supervisor#33