Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

change repl_variable preview to 1000 chars (#9296)

Isaac Miller1ff12dd0ce60
diff --git a/dspy/primitives/repl_types.py b/dspy/primitives/repl_types.py
index aef5bd52e..d771451dc 100644
--- a/dspy/primitives/repl_types.py
+++ b/dspy/primitives/repl_types.py
@@ -41,7 +41,7 @@ class REPLVariable(pydantic.BaseModel):
name: str,
value: Any,
field_info: FieldInfo | None = None,
- preview_chars: int = 500,
+ preview_chars: int = 1000,
) -> REPLVariable:
"""Create REPLVariable from an actual value and optional field info.