Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update comment syntactic error #16416

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading