[PR #9853] examples clean , code optimize #13072

Open
opened 2026-04-13 00:17:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9853
Author: @zhanluxianshen
Created: 3/18/2025
Status: 🔄 Open

Base: mainHead: code-clean-example


📝 Commits (1)

  • 00fec89 examples clean , code optimize

📊 Changes

4 files changed (+22 additions, -5 deletions)

View changed files

📝 api/examples/README.md (+3 -0)
📝 api/examples/generate-streaming/main.go (+7 -0)
📝 api/examples/generate/main.go (+6 -1)
📝 cmd/cmd.go (+6 -4)

📄 Description

1 examples clean
2 cmd->RunHandler optimize


🔄 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/9853 **Author:** [@zhanluxianshen](https://github.com/zhanluxianshen) **Created:** 3/18/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `code-clean-example` --- ### 📝 Commits (1) - [`00fec89`](https://github.com/ollama/ollama/commit/00fec899e985cefb256ddfb441009248633178c5) examples clean , code optimize ### 📊 Changes **4 files changed** (+22 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `api/examples/README.md` (+3 -0) 📝 `api/examples/generate-streaming/main.go` (+7 -0) 📝 `api/examples/generate/main.go` (+6 -1) 📝 `cmd/cmd.go` (+6 -4) </details> ### 📄 Description 1 examples clean 2 cmd->RunHandler optimize --- <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:17:09 -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#13072