From 2163476568d4e19943fa0288229f40aa6e006f5a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 21:36:38 +0000 Subject: [PATCH] feat(api): api update --- .stats.yml | 2 +- src/groq/types/chat/chat_completion_message.py | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 75e73827..42de6452 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 7 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-c5b2589925cd383cce5899869bbccbce45a90bd7c7c9608a4a9d087a88be9f4a.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-d1588e103a6ae0234752b8e54a746fb1e4c93a0ee51ede294017bcd4f0ee4ac0.yml diff --git a/src/groq/types/chat/chat_completion_message.py b/src/groq/types/chat/chat_completion_message.py index 8db7d17d..1aeb52b8 100644 --- a/src/groq/types/chat/chat_completion_message.py +++ b/src/groq/types/chat/chat_completion_message.py @@ -36,5 +36,12 @@ class ChatCompletionMessage(BaseModel): model. """ + reasoning: Optional[str] = None + """The model's reasoning for a response. + + Only available for reasoning models when requests parameter reasoning_format has + value `parsed. + """ + tool_calls: Optional[List[ChatCompletionMessageToolCall]] = None """The tool calls generated by the model, such as function calls."""