Repository navigation
Fix/mistral api support - #602
Merged
codelion merged 2 commits intoNov 19, 2026
Merged
Conversation
|
|
will-rice
added a commit
to will-rice/openevolve
that referenced
this pull request
Nov 21, 2026
Upstream's fixes: a NaN combined_score ranks worst (algorithmicsuperintelligence#603), the evaluator's and the novelty judge's LLM calls count in the token totals (algorithmicsuperintelligence#604), Mistral API support (algorithmicsuperintelligence#602), responses cut off at max_tokens are reported (algorithmicsuperintelligence#599), nested candidate definitions dedent (algorithmicsuperintelligence#601), llm.system_message is no longer dropped (algorithmicsuperintelligence#598), Gemini seeding without a trailing slash (algorithmicsuperintelligence#600) and an R example fix (algorithmicsuperintelligence#597). Two conflicts, both where the fork had moved upstream's code: - llm/ensemble.py: upstream's per-call usage sum (_record_usage, take_usage) beside the fork's last_message and last_backend, both kept. - process_parallel.py: the fork evaluates a child in _evaluate_child (generated and injected children alike); upstream's count of the evaluator's own LLM calls moves there, after the evaluation, into the result's and the metadata's usage. The fork's suite fails the same 23 tests before and after the merge (upstream's own, unrelated to it). Claude-Session: https://claude.ai/code/session_01RnaESRvvoubZsW6wWrQAPQ
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.
Openevolve fails on the following config:
This pull request includes two fixes to add Mistral API support to openevolve:
random_seedinstead ofseed(https://docs.mistral.ai/api/endpoint/chat#operation-chat_completion_v1_chat_completions_post_request_random_seed)