[PR #5684] [MERGED] add chat and generate tests with mock runner #11884

Closed
opened 2026-04-12 23:41:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5684
Author: @mxyng
Created: 7/14/2024
Status: Merged
Merged: 7/16/2024
Merged by: @mxyng

Base: mainHead: mxyng/tests


📝 Commits (1)

  • 4a565cb add chat and generate tests with mock runner

📊 Changes

6 files changed (+679 additions, -14 deletions)

View changed files

📝 llm/gguf.go (+1 -0)
📝 server/prompt_test.go (+1 -14)
📝 server/routes_create_test.go (+18 -0)
📝 server/routes_delete_test.go (+5 -0)
server/routes_generate_test.go (+651 -0)
📝 server/routes_list_test.go (+3 -0)

📄 Description

No description provided


🔄 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/5684 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/14/2024 **Status:** ✅ Merged **Merged:** 7/16/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/tests` --- ### 📝 Commits (1) - [`4a565cb`](https://github.com/ollama/ollama/commit/4a565cbf9417ab6ec4560d334d556b5e97e23be9) add chat and generate tests with mock runner ### 📊 Changes **6 files changed** (+679 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `llm/gguf.go` (+1 -0) 📝 `server/prompt_test.go` (+1 -14) 📝 `server/routes_create_test.go` (+18 -0) 📝 `server/routes_delete_test.go` (+5 -0) ➕ `server/routes_generate_test.go` (+651 -0) 📝 `server/routes_list_test.go` (+3 -0) </details> ### 📄 Description _No description provided_ --- <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-12 23:41: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#11884