def test_prepare_function_call_mixed_args():
    """Test function preparation with both positional and keyword arguments"""
    def test_func(text: str, count: int = 1) -> OutputModel:
        """Process {{ text }} {{ count }} times"""
        pass

    docstring, kwargs, return_type = _prepare_function_call(
        test_func,
        args=("Hello",),
        kwargs={"count": 3}
    )

    assert docstring == "Process Hello 3 times"
    assert kwargs == {"text": "Hello", "count": 3}
    assert return_type == OutputModel
Test function preparation with both positional and keyword arguments
tests/test_function_prep.py