@@ -71,8 +71,9 @@ def create(
7171 "qwen/qwen3-32b" ,
7272 ],
7373 ],
74+ citation_options : Optional [Literal ["enabled" , "disabled" ]] | Omit = omit ,
7475 compound_custom : Optional [completion_create_params .CompoundCustom ] | Omit = omit ,
75- disable_tool_validation : bool | Omit = omit ,
76+ disable_tool_validation : Optional [ bool ] | Omit = omit ,
7677 documents : Optional [Iterable [completion_create_params .Document ]] | Omit = omit ,
7778 exclude_domains : Optional [SequenceNotStr [str ]] | Omit = omit ,
7879 frequency_penalty : Optional [float ] | Omit = omit ,
@@ -134,8 +135,9 @@ def create(
134135 "qwen/qwen3-32b" ,
135136 ],
136137 ],
138+ citation_options : Optional [Literal ["enabled" , "disabled" ]] | Omit = omit ,
137139 compound_custom : Optional [completion_create_params .CompoundCustom ] | Omit = omit ,
138- disable_tool_validation : bool | Omit = omit ,
140+ disable_tool_validation : Optional [ bool ] | Omit = omit ,
139141 documents : Optional [Iterable [completion_create_params .Document ]] | Omit = omit ,
140142 exclude_domains : Optional [SequenceNotStr [str ]] | Omit = omit ,
141143 frequency_penalty : Optional [float ] | Omit = omit ,
@@ -197,8 +199,9 @@ def create(
197199 "qwen/qwen3-32b" ,
198200 ],
199201 ],
202+ citation_options : Optional [Literal ["enabled" , "disabled" ]] | Omit = omit ,
200203 compound_custom : Optional [completion_create_params .CompoundCustom ] | Omit = omit ,
201- disable_tool_validation : bool | Omit = omit ,
204+ disable_tool_validation : Optional [ bool ] | Omit = omit ,
202205 documents : Optional [Iterable [completion_create_params .Document ]] | Omit = omit ,
203206 exclude_domains : Optional [SequenceNotStr [str ]] | Omit = omit ,
204207 frequency_penalty : Optional [float ] | Omit = omit ,
@@ -259,8 +262,9 @@ def create(
259262 "qwen/qwen3-32b" ,
260263 ],
261264 ],
265+ citation_options : Optional [Literal ["enabled" , "disabled" ]] | Omit = omit ,
262266 compound_custom : Optional [completion_create_params .CompoundCustom ] | Omit = omit ,
263- disable_tool_validation : bool | Omit = omit ,
267+ disable_tool_validation : Optional [ bool ] | Omit = omit ,
264268 documents : Optional [Iterable [completion_create_params .Document ]] | Omit = omit ,
265269 exclude_domains : Optional [SequenceNotStr [str ]] | Omit = omit ,
266270 frequency_penalty : Optional [float ] | Omit = omit ,
@@ -307,6 +311,10 @@ def create(
307311 model: ID of the model to use. For details on which models are compatible with the Chat
308312 API, see available [models](https://console.groq.com/docs/models)
309313
314+ citation_options: Whether to enable citations in the response. When enabled, the model will
315+ include citations for information retrieved from provided documents or web
316+ searches.
317+
310318 compound_custom: Custom configuration of models and tools for Compound.
311319
312320 disable_tool_validation: If set to true, groq will return called tools without validating that the tool
@@ -459,6 +467,7 @@ def create(
459467 {
460468 "messages" : messages ,
461469 "model" : model ,
470+ "citation_options" : citation_options ,
462471 "compound_custom" : compound_custom ,
463472 "disable_tool_validation" : disable_tool_validation ,
464473 "documents" : documents ,
@@ -545,8 +554,9 @@ async def create(
545554 "qwen/qwen3-32b" ,
546555 ],
547556 ],
557+ citation_options : Optional [Literal ["enabled" , "disabled" ]] | Omit = omit ,
548558 compound_custom : Optional [completion_create_params .CompoundCustom ] | Omit = omit ,
549- disable_tool_validation : bool | Omit = omit ,
559+ disable_tool_validation : Optional [ bool ] | Omit = omit ,
550560 documents : Optional [Iterable [completion_create_params .Document ]] | Omit = omit ,
551561 exclude_domains : Optional [SequenceNotStr [str ]] | Omit = omit ,
552562 frequency_penalty : Optional [float ] | Omit = omit ,
@@ -608,8 +618,9 @@ async def create(
608618 "qwen/qwen3-32b" ,
609619 ],
610620 ],
621+ citation_options : Optional [Literal ["enabled" , "disabled" ]] | Omit = omit ,
611622 compound_custom : Optional [completion_create_params .CompoundCustom ] | Omit = omit ,
612- disable_tool_validation : bool | Omit = omit ,
623+ disable_tool_validation : Optional [ bool ] | Omit = omit ,
613624 documents : Optional [Iterable [completion_create_params .Document ]] | Omit = omit ,
614625 exclude_domains : Optional [SequenceNotStr [str ]] | Omit = omit ,
615626 frequency_penalty : Optional [float ] | Omit = omit ,
@@ -671,8 +682,9 @@ async def create(
671682 "qwen/qwen3-32b" ,
672683 ],
673684 ],
685+ citation_options : Optional [Literal ["enabled" , "disabled" ]] | Omit = omit ,
674686 compound_custom : Optional [completion_create_params .CompoundCustom ] | Omit = omit ,
675- disable_tool_validation : bool | Omit = omit ,
687+ disable_tool_validation : Optional [ bool ] | Omit = omit ,
676688 documents : Optional [Iterable [completion_create_params .Document ]] | Omit = omit ,
677689 exclude_domains : Optional [SequenceNotStr [str ]] | Omit = omit ,
678690 frequency_penalty : Optional [float ] | Omit = omit ,
@@ -733,8 +745,9 @@ async def create(
733745 "qwen/qwen3-32b" ,
734746 ],
735747 ],
748+ citation_options : Optional [Literal ["enabled" , "disabled" ]] | Omit = omit ,
736749 compound_custom : Optional [completion_create_params .CompoundCustom ] | Omit = omit ,
737- disable_tool_validation : bool | Omit = omit ,
750+ disable_tool_validation : Optional [ bool ] | Omit = omit ,
738751 documents : Optional [Iterable [completion_create_params .Document ]] | Omit = omit ,
739752 exclude_domains : Optional [SequenceNotStr [str ]] | Omit = omit ,
740753 frequency_penalty : Optional [float ] | Omit = omit ,
@@ -781,6 +794,10 @@ async def create(
781794 model: ID of the model to use. For details on which models are compatible with the Chat
782795 API, see available [models](https://console.groq.com/docs/models)
783796
797+ citation_options: Whether to enable citations in the response. When enabled, the model will
798+ include citations for information retrieved from provided documents or web
799+ searches.
800+
784801 compound_custom: Custom configuration of models and tools for Compound.
785802
786803 disable_tool_validation: If set to true, groq will return called tools without validating that the tool
@@ -933,6 +950,7 @@ async def create(
933950 {
934951 "messages" : messages ,
935952 "model" : model ,
953+ "citation_options" : citation_options ,
936954 "compound_custom" : compound_custom ,
937955 "disable_tool_validation" : disable_tool_validation ,
938956 "documents" : documents ,
0 commit comments