Skip to content

Commit 5bf8962

Browse files
authored
groq[patch]: update model for integration tests (#31440)
Llama-3.1 started failing consistently with > groq.BadRequestError: Error code: 400 - ***'error': ***'message': "Failed to call a function. Please adjust your prompt. See 'failed_generation' for more details.", 'type': 'invalid_request_error', 'code': 'tool_use_failed', 'failed_generation': '<function=brave_search>***"query": "Hello!"***</function>'***
1 parent 5b93943 commit 5bf8962

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

libs/partners/groq/tests/integration_tests/test_standard.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,10 @@ def supports_json_mode(self) -> bool:
2929
return True
3030

3131

32-
class TestGroqLlama(BaseTestGroq):
32+
class TestGroqGemma(BaseTestGroq):
3333
@property
3434
def chat_model_params(self) -> dict:
35-
return {
36-
"model": "llama-3.1-8b-instant",
37-
"temperature": 0,
38-
"rate_limiter": rate_limiter,
39-
}
35+
return {"model": "gemma2-9b-it", "rate_limiter": rate_limiter}
4036

4137
@property
4238
def supports_json_mode(self) -> bool:

0 commit comments

Comments
 (0)