Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

docs(predict): fix CodeAct's stale constructor docstring (#10351)

陈志谦eb72c80bddaa
diff --git a/dspy/predict/code_act.py b/dspy/predict/code_act.py
index 671efbaf5..388da81c9 100644
--- a/dspy/predict/code_act.py
+++ b/dspy/predict/code_act.py
@@ -30,7 +30,7 @@ class CodeAct(ReAct, ProgramOfThought):
interpreter_factory: Callable[[], CodeInterpreter] = PythonInterpreter,
):
"""
- Initializes the CodeAct class with the specified model, temperature, and max tokens.
+ Initializes the CodeAct class with the specified signature, tools, and max iterations.
Args:
signature (Union[str, Type[Signature]]): The signature of the module.