test_unicode_tool_call_integration(
self,
model: BaseChatModel,
*,
tool_choice: str | None = None,
force_tool_call| Name | Type | Description |
|---|---|---|
model* | BaseChatModel | |
tool_choice | str | None | Default: None |
force_tool_call | bool | Default: True |
Generic integration test for Unicode characters in tool calls.
Tests that Unicode characters in tool call arguments are preserved correctly,
not escaped as \\uXXXX sequences.
The chat model to test
Tool choice parameter to pass to bind_tools()
(provider-specific)
Whether to force a tool call
(use tool_choice=True if None)