[GH-ISSUE #315] create a model with body content #46649

Closed
opened 2026-04-27 23:21:04 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @priamai on GitHub (Aug 10, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/315

Hi there,
when we create a model via the API POST we should be able to include the string file inside the body request.
Otherwise is cumbersome to provide the file separately.

Originally created by @priamai on GitHub (Aug 10, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/315 Hi there, when we create a model via the API POST we should be able to include the string file inside the body request. Otherwise is cumbersome to provide the file separately.
GiteaMirror added the feature request label 2026-04-27 23:21:04 -05:00
Author
Owner

@BruceMacD commented on GitHub (Aug 10, 2023):

Just for clarification, you're looking for HTTP file upload?

<!-- gh-comment-id:1673768406 --> @BruceMacD commented on GitHub (Aug 10, 2023): Just for clarification, you're looking for HTTP file upload?
Author
Owner

@priamai commented on GitHub (Aug 10, 2023):

Hi, I would prefer a POST method with body text/plain type. It will be easier to call via Rest API clients.Ph.D. Paolo Di ProdiCo-Founder and CEOPriam Cyber AI ltd ---- On Thu, 10 Aug 2023 20:12:26 +0100 @.*** wrote ----
Just for clarification, you're looking for HTTP file upload?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:1673782530 --> @priamai commented on GitHub (Aug 10, 2023): Hi, I would prefer a POST method with body text/plain type. It will be easier to call via Rest API clients.Ph.D. Paolo Di ProdiCo-Founder and CEOPriam Cyber AI ltd ---- On Thu, 10 Aug 2023 20:12:26 +0100 ***@***.*** wrote ---- Just for clarification, you're looking for HTTP file upload? —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
Author
Owner

@technovangelist commented on GitHub (Aug 23, 2023):

We are looking into this. We will let you know when we have a solution.

<!-- gh-comment-id:1690777032 --> @technovangelist commented on GitHub (Aug 23, 2023): We are looking into this. We will let you know when we have a solution.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#46649