[PR #5726] [MERGED] fix unmarshal type errors #11902

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

📋 Pull Request Information

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

Base: mainHead: mxyng/tools-templates


📝 Commits (1)

  • 5afbb60 fix unmarshal type errors

📊 Changes

2 files changed (+39 additions, -42 deletions)

View changed files

📝 server/model.go (+18 -30)
📝 server/model_test.go (+21 -12)

📄 Description

skip unmarshalable types when parsing tool call responses


🔄 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/5726 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/16/2024 **Status:** ✅ Merged **Merged:** 7/16/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/tools-templates` --- ### 📝 Commits (1) - [`5afbb60`](https://github.com/ollama/ollama/commit/5afbb60fc452965a4a53f1e46816ea41298269c6) fix unmarshal type errors ### 📊 Changes **2 files changed** (+39 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `server/model.go` (+18 -30) 📝 `server/model_test.go` (+21 -12) </details> ### 📄 Description skip unmarshalable types when parsing tool call responses --- <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:42: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#11902