[GH-ISSUE #5259] Support Multiple Types for OpenAI Completions Endpoint #3293

Open
opened 2026-04-12 13:51:30 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @royjhan on GitHub (Jun 24, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5259

Allow v1/completions to handle []string, []int and [][]int, in addition to just a string

Originally created by @royjhan on GitHub (Jun 24, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5259 Allow v1/completions to handle []string, []int and [][]int, in addition to just a string
GiteaMirror added the feature request label 2026-04-12 13:51:30 -05:00
Author
Owner

@mbbyn commented on GitHub (Jul 22, 2024):

Just want to note that this change is very useful for using LiteLLM python library with Ollama, since LiteLLM normalizes all requests to lists under their "Open AI Compatible" custom provider.

<!-- gh-comment-id:2242611375 --> @mbbyn commented on GitHub (Jul 22, 2024): Just want to note that this change is very useful for using LiteLLM python library with Ollama, since LiteLLM normalizes all requests to lists under their "Open AI Compatible" custom provider.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3293