Repository navigation
Test-agents op Mistral Medium voor lokaal reviewen (#59) - #68
Merged
Merged
Conversation
…ackrapport Part of #58 Co-authored-by: Copilot <[email protected]>
…py (#59) Co-authored-by: Copilot <[email protected]>
Zonder ENV_FILE blijft alles bij .env; met ENV_FILE=.env.local draaien app en eval tegen de test-agents. .env.local staat in .gitignore. Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
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.
Closes #59
Wat
scripts/create_agents.py:--prefix(voor agentnamen én handoff-doelen; matchen op naam blijft idempotent) en--model(overschrijftmodeluitagents_config.json). Zonder opties verandert er niets. Met prefix print de summary alleen de eigen agents, met env-var-namen zonder prefix (test-router-agent→MISTRAL_AGENT_ID), en verwijst naar.env.local.ENV_FILE: app (app/config.py) eneval/run_eval.pyladen een alternatieve env-file, relatief aan de repo-root (bv.ENV_FILE=.env.local). ZonderENV_FILEblijft het gedrag precies zoals het was. Bestaat de file niet, dan volgt een duidelijke fout in plaats van stilletjes stub-mode..env.localstaat in.gitignore.docs/how-to/maak-test-agents-en-review-lokaal.md(in de index), plus links vanuit de productie-agents-how-to,app/README.mdendocs/reference/eval-set.md.Waarom
ENV_FILE(en niet automatisch.env.localladen)Het is expliciet. Een
.env.localdie blijft liggen, kan zo nooit ongemerkt productie-ID's overschrijven bij een eval of een lokale run. Productie (Docker/NAS) zetENV_FILEniet en blijft dus ongewijzigd.Tests
tests/test_create_agents.py), allemaal zonder netwerk; ENV_FILE-laden (app/tests/test_config.py).pytest app/tests tests: 189 passed, 5 skipped, 1 failed. De failure (test_feedback_report.py::test_history_rendered_oldest_first_last_marked) faalt al op de basis eedd462 en staat los van deze PR.