Skip to content

Commit 86a885a

Browse files
committed
chore(gepa): clean up whitespace and style changes from tool optimization PR
1 parent d8275ef commit 86a885a

File tree

4 files changed

+3414
-2319
lines changed

4 files changed

+3414
-2319
lines changed

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,3 @@ docs/docs/**/*.json*
6767

6868
test_before_pypi/
6969
.github/.internal_dspyai/dist/
70-
71-
AGENTS.md
72-
/tasks
73-
/notebooks
74-
.cache/

dspy/teleprompt/gepa/gepa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def metric(
253253
Note: When both instruction_proposer and reflection_lm are set, the instruction_proposer is called
254254
in the reflection_lm context. However, reflection_lm is optional when using a custom instruction_proposer.
255255
Custom instruction proposers can invoke their own LLMs if needed.
256-
component_selector: Custom component selector implementing the ReflectionComponentSelector protocol,
256+
component_selector: Custom component selector implementing the [ReflectionComponentSelector](https://github.com/gepa-ai/gepa/blob/main/src/gepa/proposer/reflective_mutation/base.py) protocol,
257257
or a string specifying a built-in selector strategy. Controls which components (predictors) are selected
258258
for optimization at each iteration. Defaults to 'round_robin' strategy which cycles through components
259259
one at a time. Available string options: 'round_robin' (cycles through components sequentially),

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ indent-style = "space"
167167
skip-magic-trailing-comma = false
168168
line-ending = "auto"
169169

170+
[dependency-groups]
171+
dev = [
172+
"ipykernel>=7.1.0",
173+
"jupyter>=1.1.1",
174+
]
175+
170176
[tool.ruff.lint.isort]
171177
known-first-party = ["dspy"]
172178

0 commit comments

Comments
 (0)