Add local end-to-end test harness for the Ollama provider#75
Merged
Conversation
Scripts to exercise the local pipeline without model weights or a live cluster: - scripts/mock_ollama_server.py: minimal mock of Ollama's OpenAI-compatible chat API; classifies calls as agent/steps/score and returns canned responses so DeepEval GEval metrics complete deterministically. - scripts/run_ollama_e2e_test.sh: driver that starts the mock server, sets the Ollama env vars, and runs evaluate.py against a simple task end-to-end. - scripts/setup_local_env.sh: one-shot setup of Ollama + kind + node image + model. Depends at runtime on the Ollama provider and NoOpDeployer (BENCH_NO_INFRA).
3 tasks
pradeepvrd
approved these changes
Jun 17, 2026
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
Scripts to exercise the local pipeline without model weights or a live cluster.
Scope
scripts/mock_ollama_server.py— mock of Ollama's OpenAI-compatible chat API; classifies calls as agent/steps/score and returns canned responses so DeepEval GEval metrics complete deterministicallyscripts/run_ollama_e2e_test.sh— driver: starts the mock server, sets env, runsevaluate.pyagainst a simple task end-to-endscripts/setup_local_env.sh— one-shot setup of Ollama + kind + node image + modelContext
3 of 4 PRs splitting #72. These scripts depend at runtime on the Ollama provider (#74) and
NoOpDeployer/BENCH_NO_INFRA(#73) — no file overlap, so it merges cleanly in any order, but it's only runnable once those two land. Recommended review/merge order: #73, #74, then this.