[PR #1934] [MERGED] fix build and lint #10729

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1934
Author: @mxyng
Created: 1/11/2024
Status: Merged
Merged: 1/11/2024
Merged by: @mxyng

Base: mainHead: mxyng/fix-slices


📝 Commits (3)

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 llm/llm.go (+1 -0)
📝 llm/payload_common.go (+2 -2)

📄 Description

x/exp/slices is compatible with 1.20 while slices is not

also fix llm/llm.go where fmt is used but not imported


🔄 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/1934 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 1/11/2024 **Status:** ✅ Merged **Merged:** 1/11/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-slices` --- ### 📝 Commits (3) - [`defc1db`](https://github.com/ollama/ollama/commit/defc1dbd6e2d3e415be3f3b8420c5384087354d0) use x/exp/slices - [`d7af35d`](https://github.com/ollama/ollama/commit/d7af35d3d06ff9422808cf744b2ffcc0b2cdeeac) import fmt - [`d2be638`](https://github.com/ollama/ollama/commit/d2be6387c92e2c3ed3094e5a29793e5ae74a1425) fix typo ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `llm/llm.go` (+1 -0) 📝 `llm/payload_common.go` (+2 -2) </details> ### 📄 Description x/exp/slices is compatible with 1.20 while slices is not also fix llm/llm.go where fmt is used but not imported --- <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:09:03 -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#10729