[PR #8351] [MERGED] better client error for /api/create #12692

Closed
opened 2026-04-13 00:07:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8351
Author: @pdevine
Created: 1/8/2025
Status: Merged
Merged: 1/9/2025
Merged by: @pdevine

Base: mainHead: pdevine/cmd-create-message


📝 Commits (1)

  • fcbc24e show a more descriptive error in the client if it is newer than the server

📊 Changes

2 files changed (+5 additions, -1 deletions)

View changed files

📝 cmd/cmd.go (+3 -0)
📝 server/create.go (+2 -1)

📄 Description

This change shows a mode descriptive error in the client w/ the POST /api/create endpoint if the client has been refreshed but the server hasn't been updated.


🔄 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/8351 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 1/8/2025 **Status:** ✅ Merged **Merged:** 1/9/2025 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `pdevine/cmd-create-message` --- ### 📝 Commits (1) - [`fcbc24e`](https://github.com/ollama/ollama/commit/fcbc24e9ef30cebaf0b91960f60e7eb5e4857438) show a more descriptive error in the client if it is newer than the server ### 📊 Changes **2 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+3 -0) 📝 `server/create.go` (+2 -1) </details> ### 📄 Description This change shows a mode descriptive error in the client w/ the `POST /api/create` endpoint if the client has been refreshed but the server hasn't been updated. --- <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-13 00:07:10 -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#12692