[PR #3] [MERGED] add default async client aliases #316

Closed
opened 2026-02-15 16:29:56 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/3
Author: @mxyng
Created: 1/4/2024
Status: Merged
Merged: 1/4/2024
Merged by: @mxyng

Base: mainHead: mxyng/aliases


📝 Commits (1)

  • a5f6d19 add default async client aliases

📊 Changes

1 file changed (+21 additions, -36 deletions)

View changed files

📝 ollama/__init__.py (+21 -36)

📄 Description

aliasing has the added benefit of providing signatures to systems like lsp and copilot, e.g.

image

vs. previously

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-python/pull/3 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 1/4/2024 **Status:** ✅ Merged **Merged:** 1/4/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/aliases` --- ### 📝 Commits (1) - [`a5f6d19`](https://github.com/ollama/ollama-python/commit/a5f6d1980b7d0e3dd9b107e94ab329bb74c9a1b1) add default async client aliases ### 📊 Changes **1 file changed** (+21 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `ollama/__init__.py` (+21 -36) </details> ### 📄 Description aliasing has the added benefit of providing signatures to systems like lsp and copilot, e.g. <img width="397" alt="image" src="https://github.com/jmorganca/ollama-python/assets/2372640/948a484f-bf78-419c-b036-aa8b8dedcdeb"> vs. previously <img width="388" alt="image" src="https://github.com/jmorganca/ollama-python/assets/2372640/a4a0fffd-e8ac-4540-9e51-9a53e9dba1ca"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 16:29:56 -05:00
yindo closed this issue 2026-02-15 16:29:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#316