Skip to content

[BUG] OpenAI agents training example code is using wrong dynamic module name for workflows. #787

@HwVanICI

Description

@HwVanICI

Checklist

  • The error occurs when using our provided Docker image.
  • I can consistently reproduce the bug across multiple trials or random seeds.
  • If the error causes experiment abortion, I've verified that this error is the root
    cause, not a secondary error caused by peer workers.

Detailed Information

Describe the bug

In the OpenAI agents example training code, the workflow module names passed to trainer.tain() have wrong paths.

  • "workflow" argument passed "examples.openai_agents.train_agents.OpenAIAgentWorkflow" module name, but the "openai_agents" folder name should be replaced as "openai-agents".
  • "eval_workflow" argument passed "examples.openai_agents.train_agents.OpenAIAgentWorkflow" module name, but the "openai_agents" folder name should be replaced as "openai-agents".

Expected behavior

We want to:

  1. replace the "workflow" module name to "examples.openai-agents.train_agents.OpenAIAgentWorkflow".
  2. replace the "eval_workflow" module name to "examples.openai-agents.train_agents.OpenAIAgentWorkflow".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions