Skip to content

refactor: cut over to agent-core for OpenAI Agent SDK wrapper#10

Merged
John-Lin merged 1 commit into
masterfrom
wip/cut-over-to-agent-core
Apr 8, 2026
Merged

refactor: cut over to agent-core for OpenAI Agent SDK wrapper#10
John-Lin merged 1 commit into
masterfrom
wip/cut-over-to-agent-core

Conversation

@John-Lin

@John-Lin John-Lin commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Replace local OpenAIAgent implementation with the shared agent-core package. The wrapper, env_flag helper, and associated tests are now maintained in https://github.com/John-Lin/agent-core.

  • Add agent-core git dependency and enable hatch direct references
  • Re-export env_flag from bot.config so existing callers/tests are unchanged
  • Update bot.app and bot.slack to import OpenAIAgent from agent_core
  • Delete bot/agent.py and tests/test_agent.py (now in agent-core)

Net diff: -764 lines.

Replace local OpenAIAgent implementation with the shared agent-core
package. The wrapper, env_flag helper, and associated tests are now
maintained in https://github.com/John-Lin/agent-core.

- Add agent-core git dependency and enable hatch direct references
- Re-export env_flag from bot.config so existing callers/tests are unchanged
- Update bot.app and bot.slack to import OpenAIAgent from agent_core
- Delete bot/agent.py and tests/test_agent.py (now in agent-core)

Net diff: -764 lines.
@John-Lin
John-Lin merged commit d03c6c1 into master Apr 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant