Skip dataclass attributes to remove duplicate entries
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user