Skip to content

Conversation

LakshyAAAgrawal
Copy link
Collaborator

Added gepa_kwargs parameter for additional GEPA options.

@LakshyAAAgrawal LakshyAAAgrawal changed the title Introduce gepa_kwargs for GEPA method customization Introduce gepa_kwargs for passing custom kwargs to gepa.optimize Sep 24, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new gepa_kwargs parameter to allow passing custom kwargs to the GEPA optimize method, providing more flexibility in optimization configuration. It also updates the GEPA dependency version from 0.0.12 to 0.0.16.

  • Added gepa_kwargs parameter to the GEPA optimizer initialization and method signature
  • Updated GEPA dependency version to 0.0.16
  • Added documentation for the new parameter

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
pyproject.toml Updates GEPA dependency version to 0.0.16
dspy/teleprompt/gepa/gepa.py Adds gepa_kwargs parameter to constructor and passes it to gepa.optimize

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@LakshyAAAgrawal LakshyAAAgrawal merged commit 12b2b99 into main Sep 24, 2025
10 checks 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.

1 participant