mirror of
https://github.com/fumiama/deepinfra.git
synced 2026-06-24 22:30:31 +08:00
feat: add ollama-compatibility
This commit is contained in:
@@ -23,8 +23,8 @@ type Choice struct {
|
||||
|
||||
// OpenAI as an specified example.
|
||||
type OpenAI struct {
|
||||
sep string
|
||||
Protocol[*OpenAI] `json:"-"`
|
||||
sep string
|
||||
Protocol `json:"-"`
|
||||
// callback only
|
||||
ID string `json:"id,omitempty"`
|
||||
Object string `json:"object,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user