Skip to content

update /api/delete to use POST method instead of DELETE #178

Draft
nguu0123 wants to merge 2 commits intoollama:mainfrom
nguu0123:main
Draft

update /api/delete to use POST method instead of DELETE #178
nguu0123 wants to merge 2 commits intoollama:mainfrom
nguu0123:main

Conversation

@nguu0123
Copy link
Copy Markdown

Related to issue 7895 and PR 8018

@BruceMacD
Copy link
Copy Markdown
Member

Hi @nguu0123 thanks for the first-time contribution, I appreciate that you thought of the SDKs when you saw the issue in the main repo. This isn't implemented in the main ollama repo, and I doubt it will be for some time if it does get picked up, having a POST to delete a model feels a bit confusing to me.

I'm going to mark this as a draft for now to keep things tidy.

@BruceMacD BruceMacD marked this pull request as draft December 12, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants