Skip to content

cleanup: drop deprecated v0/v1 APIs and align docs/tests#512

Merged
nicko-ai merged 7 commits into
mainfrom
chore/remove-deprecated-cleanup
Jan 20, 2026
Merged

cleanup: drop deprecated v0/v1 APIs and align docs/tests#512
nicko-ai merged 7 commits into
mainfrom
chore/remove-deprecated-cleanup

Conversation

@nicko-ai
Copy link
Copy Markdown
Collaborator

@nicko-ai nicko-ai commented Jan 14, 2026

  • Remove deprecated Agency APIs (agency_chart, completions proxy, message_files)
  • Enforce strict Agent kwargs and drop deprecated Agent params/aliases
  • Remove BaseTool _shared_state and legacy reminder_override behavior
  • Update tests/docs/examples for v1.x-only surface and flow-level Handoff
  • Skip live OpenAI flake test on CI

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 14b68da00a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agency_swarm/agent/attachment_manager.py
@nicko-ai nicko-ai force-pushed the chore/remove-deprecated-cleanup branch from 14b68da to 7cad16e Compare January 15, 2026 22:02
@nicko-ai nicko-ai force-pushed the chore/remove-deprecated-cleanup branch from bb3b518 to 5e2e8a7 Compare January 19, 2026 01:56
@nicko-ai nicko-ai changed the title refactor: remove deprecated APIs cleanup: drop deprecated v0/v1 APIs and align docs/tests Jan 19, 2026
@nicko-ai
Copy link
Copy Markdown
Collaborator Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 673656ebcc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agency_swarm/agent/attachment_manager.py
Copy link
Copy Markdown
Collaborator

@ArtemShatokhin ArtemShatokhin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Agent docsting in src/agency_swarm/agent/core.py mentions Agency Chart
  2. docs\core-framework\agents\advanced-configuration.mdx and docs\additional-features\few-shot-examples.mdx mention examples param
  3. src\agency_swarm\utils\create_agent_template.py creates an agent with deprecated params
  4. docs\migration\guide.mdx incorrectly references old params on line 167
  5. docs\additional-features\guardrails.mdx and examples\guardrails_input.py mention reasoning_effort
  6. temperature param is in incorrect spot at line 166 in docs\migration\guide.mdx

- Remove deprecated Agency APIs (agency_chart, completions proxy, message_files)

- Enforce strict Agent kwargs and remove deprecated agent params

- Remove BaseTool _shared_state and legacy reminder_override behavior

- Update tests/docs/examples for v1.x-only surface (keep SendMessageHandoff deprecated alias)

- Skip live OpenAI flake test on CI
- reorder agent core imports after formatter
- drop deprecated completions module/tests
- rename platform API docs and OpenAPI to /get_response
- Add `import warnings` to fix F821 lint error in CI
- Add mandatory reproduce-before-fix rule to AGENTS.md
- fail fast when message_files is passed
- Reduce migration confusion by using agent-level model selection, max_tokens, and current reasoning config in examples and templates.
@nicko-ai
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- avoid shared time.sleep patch interference
- patch per-instance sleep in the test
@nicko-ai nicko-ai merged commit 79972c9 into main Jan 20, 2026
5 checks passed
@nicko-ai nicko-ai deleted the chore/remove-deprecated-cleanup branch January 20, 2026 05:21
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