mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
[PR #132] [CLOSED] Add type overloads for chat() method in _client.py #374
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ollama/ollama-python/pull/132
Author: @simonottenhauskenbun
Created: 4/26/2024
Status: ❌ Closed
Base:
main← Head:typing📝 Commits (1)
6e25863Add type overloads for chat() method in _client.py📊 Changes
1 file changed (+25 additions, -1 deletions)
View changed files
📝
ollama/_client.py(+25 -1)📄 Description
This PR adds two type overloads in
_client.pyto reduce type warnings.The PR should only affect typing and no logic.
Before PR:
New behaviour:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.