Skip to content

Agents Reproducibility - seed ? top_p=0? #768

Open
@bdfsaraiva

Description

@bdfsaraiva

@Demirrr started to work on this (#382)

Is there any way to guarantee reproducibility?

Activity

lysektomas

lysektomas commented on Jun 20, 2025

@lysektomas

I think that you can use extra_args in model_settings

ModelSettings( store=True, metadata={"type": 'something'}, extra_args={ "seed": 42 } )

I debugged _base_client.py and it is sending seed attribute correctly to model provider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lysektomas@bdfsaraiva

        Issue actions

          Agents Reproducibility - seed ? top_p=0? · Issue #768 · openai/openai-agents-python