Skip to content

Commit e62fea1

Browse files
committed
doc: Fix grammatical errors
1 parent df8deed commit e62fea1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/toolbox-langchain/src/toolbox_langchain/async_tools.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def __init__(
6262
bound_params: A mapping of parameter names to their bound
6363
values.
6464
strict: If True, raises a ValueError if any of the given bound
65-
parameters is missing from the schema or require authentication.
66-
If False, only issues a warning.
65+
parameters is missing from the schema or requires
66+
authentication. If False, only issues a warning.
6767
"""
6868

6969
# If the schema is not already a ToolSchema instance, we create one from
@@ -260,8 +260,8 @@ def __create_copy(
260260
bound values or functions to retrieve the values. These params
261261
will be merged with the existing bound params.
262262
strict: If True, raises a ValueError if any of the given bound
263-
parameters is missing from the schema or require authentication.
264-
If False, only issues a warning.
263+
parameters is missing from the schema or requires
264+
authentication. If False, only issues a warning.
265265
266266
Returns:
267267
A new AsyncToolboxTool instance that is a deep copy of the current
@@ -361,7 +361,7 @@ def bind_params(
361361
bound_params: A dictionary of the bound parameter name to the
362362
value or function of the bound value.
363363
strict: If True, a ValueError is raised if any of the provided bound
364-
params is not defined in the tool's schema, or require
364+
params is not defined in the tool's schema, or requires
365365
authentication. If False, only a warning is issued.
366366
367367
Returns:
@@ -371,7 +371,7 @@ def bind_params(
371371
Raises:
372372
ValueError: If any of the provided bound params is already bound.
373373
ValueError: if any of the provided bound params is not defined in
374-
the tool's schema, or require authentication, and strict is
374+
the tool's schema, or requires authentication, and strict is
375375
True.
376376
"""
377377

packages/toolbox-langchain/src/toolbox_langchain/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def bind_params(
153153
bound_params: A dictionary of the bound parameter name to the
154154
value or function of the bound value.
155155
strict: If True, a ValueError is raised if any of the provided bound
156-
params is not defined in the tool's schema, or require
156+
params is not defined in the tool's schema, or requires
157157
authentication. If False, only a warning is issued.
158158
159159
Returns:

0 commit comments

Comments
 (0)