@@ -67,43 +67,51 @@ paths:
67
67
value :
68
68
object : " list"
69
69
data :
70
- - id : " gpt-4o"
70
+ - id : " openai/ gpt-4o"
71
71
object : " model"
72
72
created : 1686935002
73
73
owned_by : " openai"
74
- - id : " llama-3.3-70b-versatile"
74
+ served_by : " openai"
75
+ - id : " openai/llama-3.3-70b-versatile"
75
76
object : " model"
76
77
created : 1723651281
77
78
owned_by : " groq"
78
- - id : " claude-3-opus-20240229"
79
+ served_by : " groq"
80
+ - id : " cohere/claude-3-opus-20240229"
79
81
object : " model"
80
82
created : 1708905600
81
83
owned_by : " anthropic"
82
- - id : " command-r"
84
+ served_by : " anthropic"
85
+ - id : " cohere/command-r"
83
86
object : " model"
84
87
created : 1707868800
85
88
owned_by : " cohere"
86
- - id : " phi3:3.8b"
89
+ served_by : " cohere"
90
+ - id : " ollama/phi3:3.8b"
87
91
object : " model"
88
92
created : 1718441600
89
93
owned_by : " ollama"
94
+ served_by : " ollama"
90
95
singleProvider :
91
96
summary : Models from a specific provider
92
97
value :
93
98
object : " list"
94
99
data :
95
- - id : " gpt-4o"
100
+ - id : " openai/ gpt-4o"
96
101
object : " model"
97
102
created : 1686935002
98
103
owned_by : " openai"
99
- - id : " gpt-4-turbo"
104
+ served_by : " openai"
105
+ - id : " openai/gpt-4-turbo"
100
106
object : " model"
101
107
created : 1687882410
102
108
owned_by : " openai"
103
- - id : " gpt-3.5-turbo"
109
+ served_by : " openai"
110
+ - id : " openai/gpt-3.5-turbo"
104
111
object : " model"
105
112
created : 1677649963
106
113
owned_by : " openai"
114
+ served_by : " openai"
107
115
" 401 " :
108
116
$ref : " #/components/responses/Unauthorized"
109
117
" 500 " :
@@ -562,6 +570,9 @@ components:
562
570
type : string
563
571
chat :
564
572
type : string
573
+ required :
574
+ - models
575
+ - chat
565
576
Error :
566
577
type : object
567
578
properties :
@@ -589,10 +600,12 @@ components:
589
600
$ref : " #/components/schemas/ChatCompletionMessageToolCall"
590
601
tool_call_id :
591
602
type : string
592
- reasoning :
593
- type : string
594
603
reasoning_content :
595
604
type : string
605
+ description : The reasoning content of the chunk message.
606
+ reasoning :
607
+ type : string
608
+ description : The reasoning of the chunk message. Same as reasoning_content.
596
609
required :
597
610
- role
598
611
- content
@@ -611,6 +624,12 @@ components:
611
624
type : string
612
625
served_by :
613
626
$ref : " #/components/schemas/Provider"
627
+ required :
628
+ - id
629
+ - object
630
+ - created
631
+ - owned_by
632
+ - served_by
614
633
ListModelsResponse :
615
634
type : object
616
635
description : Response structure for listing models
@@ -717,7 +736,8 @@ components:
717
736
usage statistics for the entire request, and the `choices` field
718
737
will always be an empty array. All other chunks will also include a
719
738
`usage` field, but with a null value.
720
- default : true
739
+ required :
740
+ - include_usage
721
741
CreateChatCompletionRequest :
722
742
type : object
723
743
properties :
@@ -754,6 +774,14 @@ components:
754
774
are supported.
755
775
items :
756
776
$ref : " #/components/schemas/ChatCompletionTool"
777
+ reasoning_format :
778
+ type : string
779
+ description : >
780
+ The format of the reasoning content. Can be `raw` or `parsed`.
781
+
782
+ When specified as raw some reasoning models will output <think /> tags.
783
+ When specified as parsed the model will output the reasoning under
784
+ `reasoning` or `reasoning_content` attribute.
757
785
required :
758
786
- model
759
787
- messages
@@ -899,6 +927,9 @@ components:
899
927
reasoning_content :
900
928
type : string
901
929
description : The reasoning content of the chunk message.
930
+ reasoning :
931
+ type : string
932
+ description : The reasoning of the chunk message. Same as reasoning_content.
902
933
tool_calls :
903
934
type : array
904
935
items :
@@ -908,6 +939,9 @@ components:
908
939
refusal :
909
940
type : string
910
941
description : The refusal message generated by the model.
942
+ required :
943
+ - content
944
+ - role
911
945
ChatCompletionMessageToolCallChunk :
912
946
type : object
913
947
properties :
@@ -1040,6 +1074,13 @@ components:
1040
1074
description : The object type, which is always `chat.completion.chunk`.
1041
1075
usage :
1042
1076
$ref : " #/components/schemas/CompletionUsage"
1077
+ reasoning_format :
1078
+ type : string
1079
+ description : >
1080
+ The format of the reasoning content. Can be `raw` or `parsed`.
1081
+
1082
+ When specified as raw some reasoning models will output <think /> tags.
1083
+ When specified as parsed the model will output the reasoning under reasoning_content.
1043
1084
required :
1044
1085
- choices
1045
1086
- created
0 commit comments