Add ChatGPT OAuth model backend and fix evolution runtime regressions#22
Open
kyzer1022 wants to merge 2 commits into
Open
Add ChatGPT OAuth model backend and fix evolution runtime regressions#22kyzer1022 wants to merge 2 commits into
kyzer1022 wants to merge 2 commits into
Conversation
- rebuild ChatGPTOAuthLM clients during LM copies so DSPy avoids deepcopying the OpenAI/httpx stack - pass valset into the MIPRO fallback path for tiny datasets - validate full skill text during evolution and prefer explicit dataset_path loading - add regression tests for OAuth copy, dataset loading, full-skill validation, and GEPA fallback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chatgpt/*models so skill evolution can run without OpenAI API keysChatGPTOAuthLMinstances oncopy()so DSPy avoids deepcopying the OpenAI/httpx client stack during optimizationevolve_skill.pyto prefer explicitdataset_pathloading, validate the full skill text, and passvalsetinto the MIPRO fallback path so tiny datasets stop crashingTesting
.venv/bin/pytest -q.venv/bin/python -m evolution.skills.evolve_skill --skill github-code-review --iterations 1 --dataset-path /home/kyzer/Documents/projects/hermes-agent-self-evolution/tmp/github-code-review-mini --optimizer-model chatgpt/gpt-5.4 --eval-model chatgpt/gpt-5.4 --hermes-repo /home/kyzer/.hermes/hermes-agentNotes
output/github-code-review/20260414_164858/.