mirror of
https://github.com/hwchase17/langchain
synced 2024-11-11 19:11:02 +00:00
c5bf114c0f
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. |
||
---|---|---|
.. | ||
__init__.py | ||
test_chat_models.py | ||
test_compile.py | ||
test_standard.py |