[PR #7888] [MERGED] Enable index tracking for tools - openai api support #23088

Closed
opened 2026-04-19 16:45:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7888
Author: @ParthSareen
Created: 11/30/2024
Status: Merged
Merged: 11/30/2024
Merged by: @ParthSareen

Base: mainHead: parth/add-index-for-tools


📝 Commits (1)

  • 0efc014 Enable index tracking for tools - openai api support

📊 Changes

4 files changed (+89 additions, -4 deletions)

View changed files

📝 api/types.go (+1 -0)
📝 openai/openai.go (+2 -0)
📝 openai/openai_test.go (+80 -1)
📝 server/routes.go (+6 -3)

📄 Description

Closes https://github.com/ollama/ollama/issues/7881
Now able to use client.beta.chat.completions.stream
image


🔄 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/7888 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 11/30/2024 **Status:** ✅ Merged **Merged:** 11/30/2024 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth/add-index-for-tools` --- ### 📝 Commits (1) - [`0efc014`](https://github.com/ollama/ollama/commit/0efc01444f6e5b1fd99817289c4c83fd4fd91dca) Enable index tracking for tools - openai api support ### 📊 Changes **4 files changed** (+89 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+1 -0) 📝 `openai/openai.go` (+2 -0) 📝 `openai/openai_test.go` (+80 -1) 📝 `server/routes.go` (+6 -3) </details> ### 📄 Description Closes https://github.com/ollama/ollama/issues/7881 Now able to use `client.beta.chat.completions.stream` <img width="570" alt="image" src="https://github.com/user-attachments/assets/32c48aca-b23a-40b8-b32d-2fcb667d2d81"> --- <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-19 16:45:30 -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#23088