Skip to content

fix(preflight): resolve registered workflow profile APIs - #37

Merged
zhanghanduo merged 1 commit into
ApodexAI:mainfrom
wisdom-pan:fix/preflight-workflow-resolution
Oct 2, 2026
Merged

zhanghanduo merged 1 commit into
ApodexAI:mainfrom
wisdom-pan:fix/preflight-workflow-resolution

Conversation

@wisdom-pan

Copy link
Copy Markdown
Contributor

Summary

  • Resolve public pipeline IDs to their actual workflow profile modules.
  • Use the current ReAct and Agent Team profile loader and builder APIs.
  • Return clean diagnostics when LLM client construction fails instead of raising a traceback.
  • Add regression tests for both built-in workflows and invalid pipeline handling.

Problem

The documented default preflight treated the public pipeline ID stateful-react-agent as an importable Python package name, although the implementation lives in workflows.stateful_react_agent. It also called the retired generic load_profile and create_llm APIs, so both built-in workflow checks failed before making the intended one-token validation request.

Validation

  • 1729 tests passed
  • Ruff passed
  • Pyright passed
  • Framework and eval import smoke checks passed
  • Symbol and lazy-export checks passed
  • Stateful ReAct and Agent Team verified against the bundled mock endpoint

@zhanghanduo zhanghanduo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. Thanks. Sorry for the late reply and action.

@zhanghanduo
zhanghanduo merged commit 179709f into ApodexAI:main Oct 2, 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.

2 participants