Skip to content

Commit

Permalink
chore: rebuild project due to codegen change (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 18, 2024
1 parent fde3a90 commit b79c1f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 58 deletions.
4 changes: 2 additions & 2 deletions tests/api_resources/audio/test_transcriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_method_create_with_all_params(self, client: Groq) -> None:
prompt="prompt",
response_format="json",
temperature=0,
timestamp_granularities=["word", "segment"],
timestamp_granularities=["word"],
)
assert_matches_type(Transcription, transcription, path=["response"])

Expand Down Expand Up @@ -85,7 +85,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGroq) -> N
prompt="prompt",
response_format="json",
temperature=0,
timestamp_granularities=["word", "segment"],
timestamp_granularities=["word"],
)
assert_matches_type(Transcription, transcription, path=["response"])

Expand Down
60 changes: 4 additions & 56 deletions tests/api_resources/chat/test_completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,7 @@ def test_method_create_with_all_params(self, client: Groq) -> None:
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
{
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
{
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
}
],
logit_bias={"foo": 0},
logprobs=True,
Expand All @@ -80,23 +70,7 @@ def test_method_create_with_all_params(self, client: Groq) -> None:
"parameters": {"foo": "bar"},
},
"type": "function",
},
{
"function": {
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
"type": "function",
},
{
"function": {
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
"type": "function",
},
}
],
top_logprobs=0,
top_p=1,
Expand Down Expand Up @@ -175,17 +149,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGroq) -> N
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
{
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
{
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
}
],
logit_bias={"foo": 0},
logprobs=True,
Expand All @@ -207,23 +171,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGroq) -> N
"parameters": {"foo": "bar"},
},
"type": "function",
},
{
"function": {
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
"type": "function",
},
{
"function": {
"name": "name",
"description": "description",
"parameters": {"foo": "bar"},
},
"type": "function",
},
}
],
top_logprobs=0,
top_p=1,
Expand Down

0 comments on commit b79c1f9

Please sign in to comment.