[PR #5678] [CLOSED] Add API integration tests #22420

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5678
Author: @dhiltgen
Created: 7/13/2024
Status: Closed

Base: mainHead: api_integration_tests


📝 Commits (3)

  • e7b03ff Add API integration tests
  • bc90911 tests: add model arch integration test
  • d71d979 integration: skip a few large model tests with low VRAM

📊 Changes

6 files changed (+661 additions, -2 deletions)

View changed files

integration/api_test.go (+430 -0)
📝 integration/basic_test.go (+1 -0)
📝 integration/concurrency_test.go (+3 -0)
📝 integration/llm_image_test.go (+2 -0)
integration/model_arch_test.go (+210 -0)
📝 integration/utils_test.go (+15 -2)

📄 Description

These tests try to validate fields in the response payloads to catch regressions if we drop any.


🔄 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/5678 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 7/13/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `api_integration_tests` --- ### 📝 Commits (3) - [`e7b03ff`](https://github.com/ollama/ollama/commit/e7b03ff40353dbc6d8dd002794a2b2eafa120f1e) Add API integration tests - [`bc90911`](https://github.com/ollama/ollama/commit/bc909110e255f3ab160bd5ac9aca6822752c5654) tests: add model arch integration test - [`d71d979`](https://github.com/ollama/ollama/commit/d71d979d744cb793ea3ada786800712441c34c48) integration: skip a few large model tests with low VRAM ### 📊 Changes **6 files changed** (+661 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `integration/api_test.go` (+430 -0) 📝 `integration/basic_test.go` (+1 -0) 📝 `integration/concurrency_test.go` (+3 -0) 📝 `integration/llm_image_test.go` (+2 -0) ➕ `integration/model_arch_test.go` (+210 -0) 📝 `integration/utils_test.go` (+15 -2) </details> ### 📄 Description These tests try to validate fields in the response payloads to catch regressions if we drop any. --- <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 16:18:47 -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#22420