langchain/libs/partners/groq/tests/integration_tests
ccurme c5bf114c0f
together, standard-tests: specify tool_choice in standard tests (#25548)
Here we allow standard tests to specify a value for `tool_choice` via a
`tool_choice_value` property, which defaults to None.

Chat models [available in
Together](https://docs.together.ai/docs/chat-models) have issues passing
standard tool calling tests:
- llama 3.1 models currently [appear to rely on user-side
parsing](https://docs.together.ai/docs/llama-3-function-calling) in
Together;
- Mixtral-8x7B and Mistral-7B (currently tested) consistently do not
call tools in some tests.

Specifying tool_choice also lets us remove an existing `xfail` and use a
smaller model in Groq tests.
2024-08-19 16:37:36 -04:00
..
__init__.py partner: Add groq partner integration and chat model (#17856) 2024-02-22 07:36:16 -08:00
test_chat_models.py together, standard-tests: specify tool_choice in standard tests (#25548) 2024-08-19 16:37:36 -04:00
test_compile.py partner: Add groq partner integration and chat model (#17856) 2024-02-22 07:36:16 -08:00
test_standard.py together, standard-tests: specify tool_choice in standard tests (#25548) 2024-08-19 16:37:36 -04:00