[PR #14948] [MERGED] integration: improve ability to test individual models #25476

Closed
opened 2026-04-19 18:14:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14948
Author: @dhiltgen
Created: 3/18/2026
Status: Merged
Merged: 3/24/2026
Merged by: @dhiltgen

Base: mainHead: integration-improvements


📝 Commits (2)

  • d5f9d2c integration: improve ability to test individual models
  • 4a45634 review comments

📊 Changes

18 files changed (+1456 additions, -125 deletions)

View changed files

📝 integration/README.md (+12 -1)
📝 integration/api_test.go (+21 -7)
📝 integration/basic_test.go (+12 -9)
📝 integration/concurrency_test.go (+4 -3)
📝 integration/context_test.go (+14 -6)
📝 integration/embed_test.go (+31 -17)
📝 integration/imagegen_test.go (+5 -6)
📝 integration/library_models_test.go (+2 -5)
📝 integration/llm_image_test.go (+28 -39)
📝 integration/max_queue_test.go (+1 -3)
📝 integration/model_arch_test.go (+6 -7)
📝 integration/model_perf_test.go (+1 -3)
📝 integration/quantization_test.go (+1 -3)
integration/tools_stress_test.go (+523 -0)
📝 integration/tools_test.go (+7 -4)
📝 integration/utils_test.go (+54 -12)
integration/vision_test.go (+349 -0)
integration/vision_test_data_test.go (+385 -0)

📄 Description

Add OLLAMA_TEST_MODEL env var to run integration tests against a single model.

Enhance vision tests: multi-turn chat with cached image tokens, object counting, spatial reasoning, detail recognition, scene understanding, OCR, and multi-image comparison.

Add tool calling stress tests with complex agent-style prompts, large system messages, and multi-turn tool response handling.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/14948 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 3/18/2026 **Status:** ✅ Merged **Merged:** 3/24/2026 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `integration-improvements` --- ### 📝 Commits (2) - [`d5f9d2c`](https://github.com/ollama/ollama/commit/d5f9d2ce1840cacbffada18574fcece918bf145c) integration: improve ability to test individual models - [`4a45634`](https://github.com/ollama/ollama/commit/4a45634788a2649fb7594771426514287b1823cf) review comments ### 📊 Changes **18 files changed** (+1456 additions, -125 deletions) <details> <summary>View changed files</summary> 📝 `integration/README.md` (+12 -1) 📝 `integration/api_test.go` (+21 -7) 📝 `integration/basic_test.go` (+12 -9) 📝 `integration/concurrency_test.go` (+4 -3) 📝 `integration/context_test.go` (+14 -6) 📝 `integration/embed_test.go` (+31 -17) 📝 `integration/imagegen_test.go` (+5 -6) 📝 `integration/library_models_test.go` (+2 -5) 📝 `integration/llm_image_test.go` (+28 -39) 📝 `integration/max_queue_test.go` (+1 -3) 📝 `integration/model_arch_test.go` (+6 -7) 📝 `integration/model_perf_test.go` (+1 -3) 📝 `integration/quantization_test.go` (+1 -3) ➕ `integration/tools_stress_test.go` (+523 -0) 📝 `integration/tools_test.go` (+7 -4) 📝 `integration/utils_test.go` (+54 -12) ➕ `integration/vision_test.go` (+349 -0) ➕ `integration/vision_test_data_test.go` (+385 -0) </details> ### 📄 Description Add OLLAMA_TEST_MODEL env var to run integration tests against a single model. Enhance vision tests: multi-turn chat with cached image tokens, object counting, spatial reasoning, detail recognition, scene understanding, OCR, and multi-image comparison. Add tool calling stress tests with complex agent-style prompts, large system messages, and multi-turn tool response handling. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 18:14:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#25476