[PR #6452] [CLOSED] feat: function calling on stream #12115

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6452
Author: @venjiang
Created: 8/21/2024
Status: Closed

Base: mainHead: feat/stream


📝 Commits (5)

📊 Changes

3 files changed (+112 additions, -15 deletions)

View changed files

📝 examples/go-chat/main.go (+4 -4)
📝 openai/openai.go (+33 -4)
📝 server/routes.go (+75 -7)

📄 Description

It is fully tools-supported, both in normal response and stream response.


🔄 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/6452 **Author:** [@venjiang](https://github.com/venjiang) **Created:** 8/21/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/stream` --- ### 📝 Commits (5) - [`58fdac7`](https://github.com/ollama/ollama/commit/58fdac78a41e0b49c4957c601bc21e838f6684aa) function call on stream - [`5f4d3c3`](https://github.com/ollama/ollama/commit/5f4d3c351a6cd9e061147fa90034083365dc98e1) it's work - [`aab555d`](https://github.com/ollama/ollama/commit/aab555d37147ce3e1f50f27ee8bd2df006b39435) fix - [`e990dec`](https://github.com/ollama/ollama/commit/e990dec90fd0255aa6cbe9a0a82d2ede4d560f68) clean - [`79379da`](https://github.com/ollama/ollama/commit/79379daab4075289e441961ee912d5393c290ce1) fix: when tools exists, but no call function response is empty ### 📊 Changes **3 files changed** (+112 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `examples/go-chat/main.go` (+4 -4) 📝 `openai/openai.go` (+33 -4) 📝 `server/routes.go` (+75 -7) </details> ### 📄 Description It is fully tools-supported, both in normal response and stream response. --- <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:49:57 -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#12115