Skip to content

Commit

Permalink
docs: update comment syntactic error (#16416)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric9204 authored Oct 8, 2024
1 parent e84883f commit ae58151
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion llama-index-core/llama_index/core/agent/custom/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "CustomSimpleAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional)."""
"""Convenience constructor method from set of BaseTools (Optional)."""
llm = llm or Settings.llm
if callback_manager is not None:
llm.callback_manager = callback_manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "ReActAgent":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
NOTE: kwargs should have been exhausted by this point. In other words
the various upstream components such as BaseSynthesizer (response synthesizer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "MultimodalReActAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
NOTE: kwargs should have been exhausted by this point. In other words
the various upstream components such as BaseSynthesizer (response synthesizer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "CoAAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
Returns:
LLMCompilerAgentWorker: the LLMCompilerAgentWorker instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def from_defaults(
verbose: bool = False,
**kwargs: Any,
) -> "ToolInteractiveReflectionAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional)."""
"""Convenience constructor method from set of BaseTools (Optional)."""
if correction_llm is None:
try:
from llama_index.llms.openai import OpenAI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "LLMCompilerAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
Returns:
LLMCompilerAgentWorker: the LLMCompilerAgentWorker instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "CustomSimpleAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional)."""
"""Convenience constructor method from set of BaseTools (Optional)."""
llm = llm or OpenAI(model=DEFAULT_MODEL_NAME)
if callback_manager is not None:
llm.callback_manager = callback_manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "ReActAgent":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
NOTE: kwargs should have been exhausted by this point. In other words
the various upstream components such as BaseSynthesizer (response synthesizer)
Expand Down
2 changes: 1 addition & 1 deletion llama-index-legacy/llama_index/legacy/agent/react/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def from_tools(
context: Optional[str] = None,
**kwargs: Any,
) -> "ReActAgent":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
NOTE: kwargs should have been exhausted by this point. In other words
the various upstream components such as BaseSynthesizer (response synthesizer)
Expand Down
2 changes: 1 addition & 1 deletion llama-index-legacy/llama_index/legacy/agent/react/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "ReActAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
NOTE: kwargs should have been exhausted by this point. In other words
the various upstream components such as BaseSynthesizer (response synthesizer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "MultimodalReActAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
NOTE: kwargs should have been exhausted by this point. In other words
the various upstream components such as BaseSynthesizer (response synthesizer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "CoAAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
Returns:
LLMCompilerAgentWorker: the LLMCompilerAgentWorker instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def from_tools(
verbose: bool = False,
**kwargs: Any,
) -> "LLMCompilerAgentWorker":
"""Convenience constructor method from set of of BaseTools (Optional).
"""Convenience constructor method from set of BaseTools (Optional).
Returns:
LLMCompilerAgentWorker: the LLMCompilerAgentWorker instance
Expand Down

0 comments on commit ae58151

Please sign in to comment.