View module source on GitHub

TestPortkeyIntegration

class TestPortkeyIntegration(unittest.TestCase)

test_portkey_tool_calls_sync

def test_portkey_tool_calls_sync()

Test Portkey integration with tool calls (synchronous).

test_portkey_tool_calls_async

async def test_portkey_tool_calls_async()

Test Portkey integration with tool calls (asynchronous).

test_tool_call_without_tools_parameter

def test_tool_call_without_tools_parameter()

Test normal conversation without tools.