[PR #13145] [MERGED] Parser for Cogito v2 #14095

Closed
opened 2026-04-13 00:44:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13145
Author: @gr4ceG
Created: 11/19/2025
Status: Merged
Merged: 11/20/2025
Merged by: @gr4ceG

Base: mainHead: grace/cogito-parser


📝 Commits (10+)

📊 Changes

10 files changed (+907 additions, -21 deletions)

View changed files

📝 harmony/harmonyparser.go (+2 -2)
model/parsers/cogito.go (+319 -0)
model/parsers/cogito_test.go (+565 -0)
📝 model/parsers/parsers.go (+5 -3)
📝 model/parsers/parsers_test.go (+1 -1)
📝 model/parsers/qwen3coder.go (+2 -2)
📝 model/parsers/qwen3vl.go (+1 -1)
📝 model/parsers/qwen3vl_nonthinking_test.go (+3 -3)
📝 model/parsers/qwen3vl_thinking_test.go (+7 -7)
📝 server/routes.go (+2 -2)

📄 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/13145 **Author:** [@gr4ceG](https://github.com/gr4ceG) **Created:** 11/19/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@gr4ceG](https://github.com/gr4ceG) **Base:** `main` ← **Head:** `grace/cogito-parser` --- ### 📝 Commits (10+) - [`4a5f64d`](https://github.com/ollama/ollama/commit/4a5f64d0b95d61c7e16b99013e2e3b918b7f4337) init parser - [`eaf4aad`](https://github.com/ollama/ollama/commit/eaf4aad9dc79410ee5b14822df6b7c205ed8f9ce) cleanup: - [`cfac372`](https://github.com/ollama/ollama/commit/cfac372d69c0107c0857b0aab7c447710e330257) parser fixes - not sure if tool calls is right yet though - [`bc446e6`](https://github.com/ollama/ollama/commit/bc446e65cdcca3101cfbcb477a78fd070ac30b91) more tests - [`3296cc8`](https://github.com/ollama/ollama/commit/3296cc8dfc248e69cf7cee3782f5c11a38e00916) help - [`777330e`](https://github.com/ollama/ollama/commit/777330ea94f1fc676f160f87a270fd8a83939224) fix to be more similar to qwen3vl - [`77b88df`](https://github.com/ollama/ollama/commit/77b88dfb12056f4d2a806513cfcd23ff3bed7584) works with tools - [`7c234e3`](https://github.com/ollama/ollama/commit/7c234e32d02e78addfd1d82c6ebccd67b19ea31e) [important] signature changes to all parsers - [`fcbe0d5`](https://github.com/ollama/ollama/commit/fcbe0d5ef9d25352207792e53b6557812a857869) change tests - [`8799b35`](https://github.com/ollama/ollama/commit/8799b3586aec0778794b945aa9118126e1657225) linter ### 📊 Changes **10 files changed** (+907 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `harmony/harmonyparser.go` (+2 -2) ➕ `model/parsers/cogito.go` (+319 -0) ➕ `model/parsers/cogito_test.go` (+565 -0) 📝 `model/parsers/parsers.go` (+5 -3) 📝 `model/parsers/parsers_test.go` (+1 -1) 📝 `model/parsers/qwen3coder.go` (+2 -2) 📝 `model/parsers/qwen3vl.go` (+1 -1) 📝 `model/parsers/qwen3vl_nonthinking_test.go` (+3 -3) 📝 `model/parsers/qwen3vl_thinking_test.go` (+7 -7) 📝 `server/routes.go` (+2 -2) </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-13 00:44:43 -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#14095