[PR #2878] [MERGED] api: start adding documentation to package api #10991

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2878
Author: @eliben
Created: 3/2/2024
Status: Merged
Merged: 4/10/2024
Merged by: @jmorganca

Base: mainHead: api-doc


📝 Commits (2)

  • 4c1c3f4 api: start adding documentation to package api
  • e9a22d7 Fix lint typo report

📊 Changes

2 files changed (+74 additions, -10 deletions)

View changed files

📝 api/client.go (+36 -0)
📝 api/types.go (+38 -10)

📄 Description

Updates #2840

This is an initial PR just to double check that I'm heading in the right direction. If it looks good, I can update it (or send separate ones) to fill up the whole documentation for the api package.


🔄 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/2878 **Author:** [@eliben](https://github.com/eliben) **Created:** 3/2/2024 **Status:** ✅ Merged **Merged:** 4/10/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `api-doc` --- ### 📝 Commits (2) - [`4c1c3f4`](https://github.com/ollama/ollama/commit/4c1c3f4a0fb23ad0d3d097d444172c1961df394a) api: start adding documentation to package api - [`e9a22d7`](https://github.com/ollama/ollama/commit/e9a22d7475a31d77312b6993c9db6ce3c0f6686b) Fix lint typo report ### 📊 Changes **2 files changed** (+74 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+36 -0) 📝 `api/types.go` (+38 -10) </details> ### 📄 Description Updates #2840 This is an initial PR just to double check that I'm heading in the right direction. If it looks good, I can update it (or send separate ones) to fill up the whole documentation for the `api` package. --- <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:17: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#10991