diff --git a/docs/api/conf.py b/docs/api/conf.py index fee337eff..97ab73bc7 100644 --- a/docs/api/conf.py +++ b/docs/api/conf.py @@ -34,7 +34,7 @@ autodoc_default_options = { "members": True, "member-order": "bysource", "undoc-members": True, - "exclude-members": "__weakref__", + "exclude-members": "__weakref__,__init__", "no-index": True, "show-inheritance": True, } diff --git a/src/pipecat/services/llm_service.py b/src/pipecat/services/llm_service.py index 1a1ac3783..f7779df98 100644 --- a/src/pipecat/services/llm_service.py +++ b/src/pipecat/services/llm_service.py @@ -64,7 +64,7 @@ class FunctionCallResultCallback(Protocol): class FunctionCallParams: """Parameters for a function call. - Attributes: + Parameters: function_name: The name of the function being called. tool_call_id: A unique identifier for the function call. arguments: The arguments for the function. @@ -87,7 +87,7 @@ class FunctionCallRegistryItem: This is what the user registers when calling register_function. - Attributes: + Parameters: function_name: The name of the function (None for catch-all handler). handler: The handler for processing function call parameters. cancel_on_interruption: Whether to cancel the call on interruption. @@ -104,7 +104,7 @@ class FunctionCallRunnerItem: The runner executes function calls in order. - Attributes: + Parameters: registry_item: The registry item containing handler information. function_name: The name of the function. tool_call_id: A unique identifier for the function call.