[PR #5886] [MERGED] OpenAI: Add Usage to v1/embeddings #11952

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5886
Author: @royjhan
Created: 7/23/2024
Status: Merged
Merged: 8/1/2024
Merged by: @royjhan

Base: mainHead: royh-openai-tokens


📝 Commits (10+)

📊 Changes

1 file changed (+13 additions, -3 deletions)

View changed files

📝 openai/openai.go (+13 -3)

📄 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/5886 **Author:** [@royjhan](https://github.com/royjhan) **Created:** 7/23/2024 **Status:** ✅ Merged **Merged:** 8/1/2024 **Merged by:** [@royjhan](https://github.com/royjhan) **Base:** `main` ← **Head:** `royh-openai-tokens` --- ### 📝 Commits (10+) - [`2ea86a5`](https://github.com/ollama/ollama/commit/2ea86a5a9b5fa2bbf9b677f28666b34b3633f155) add prompt tokens to embed response - [`15b7e41`](https://github.com/ollama/ollama/commit/15b7e4103aaec7e5153419f8ff1f3d7e8336b4e8) rm slog - [`a62d212`](https://github.com/ollama/ollama/commit/a62d2124f61a1fe812b944cb3ccf05352f7acc7a) metrics - [`1afe799`](https://github.com/ollama/ollama/commit/1afe7999546be7b0c38d6646fcdf29892a497a0a) types - [`f8b7b71`](https://github.com/ollama/ollama/commit/f8b7b71ca6bf71ad7dc14c0a3a6369d4bf9b2693) prompt n - [`6ca8f19`](https://github.com/ollama/ollama/commit/6ca8f19a1f97d0c05dd71423aa66a9e05bc5bcf0) clean up - [`ea3deb9`](https://github.com/ollama/ollama/commit/ea3deb90a5e1b040a18af457dbbee081d2adb993) reset submodule - [`17326a2`](https://github.com/ollama/ollama/commit/17326a2f50c88ac1ed054e7a813a77f3c9e2b8ad) add tokens to v1/embeddings - [`e1d038b`](https://github.com/ollama/ollama/commit/e1d038b3b15ed45f5116607d6f823003ba1a9875) Merge branch 'main' into royh-openai-tokens - [`9711ee1`](https://github.com/ollama/ollama/commit/9711ee16237806ff7e313da556463205a1d4d855) separate usage ### 📊 Changes **1 file changed** (+13 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `openai/openai.go` (+13 -3) </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-12 23:43:52 -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#11952