Skip to content

fix(deps): restore compatible agent framework stack#16

Open
OgeonX-Ai wants to merge 1 commit into
mainfrom
fix/fastapi-devui-compat
Open

fix(deps): restore compatible agent framework stack#16
OgeonX-Ai wants to merge 1 commit into
mainfrom
fix/fastapi-devui-compat

Conversation

@OgeonX-Ai

Copy link
Copy Markdown
Contributor

Summary

Restore the last verified Agent Framework dependency stack for autogen so the repo matches the APIs its code and tests actually use.

Changes

  • Roll back �gent-framework from 1.10.0 to 1.0.0rc5
  • Roll back �gent-framework-devui from 1.0.0b260630 to 1.0.0b260319
  • Roll back �gent-framework-orchestrations from 1.0.0 to 1.0.0b260319
  • Constrain astapi back to the compatible range and restore the prior uvicorn band

Why

Current �utogen/main had an internally inconsistent dependency set:

  • �gent-framework-devui==1.0.0b260630 requires astapi<0.138.1

equirements.txt pinned astapi>=0.139.0,<1.0

After fixing that resolver conflict, local CI still showed a broader API drift problem: the 1.10 Agent Framework stack changed interfaces used by the current codebase and tests (Message(..., text=...), OpenAIChatClient(model_id=...)). The codebase is still aligned to the older framework contract, so the durable fix is to restore the last compatible stack rather than leave main in a permanently broken state.

Validation

  • python -m pip install -r requirements.txt
  • python -m pip check
  • python -m pytest tests/test_contract_compatibility.py -q --tb=short
  • python -m pytest -q --tb=short

ode --check autogen_dashboard/static/app.js

Risks

  • This is a compatibility rollback, not a migration to the 1.10 stack. A future upgrade should happen in a dedicated branch with coordinated code/test changes.
  • Other open autogen PRs that touched dependency assumptions may need a rebase onto this branch once merged.

Related

  • Unblocks the dependency failure currently visible on �utogen#15
  • Relevant to �utogen#11, �utogen#12, �utogen#13, and �utogen#14 because they currently target the same main

Reviewer notes

Start with
equirements.txt. The key question is whether the repo should run on the tested pre-1.10 Agent Framework contract now, or whether the team wants a larger migration branch instead.

Current autogen main pinned the 1.10 Agent Framework stack and a FastAPI range that the codebase and DevUI package do not support together.\n\nThis restores the last verified compatible framework/devui/orchestrations versions and keeps FastAPI/Uvicorn within the matching runtime contract, which returns local CI to green and removes the install-time blocker affecting PRs rebased on main.
@OgeonX-Ai OgeonX-Ai enabled auto-merge (squash) July 8, 2026 17:00
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.

2 participants