Skip to content

The agent engineering platform.

docs(perplexity): Fix docstring of `output_parsers.strip_think_tags()` (#35264)

Christian Veenhuisb0041037213e
diff --git a/libs/partners/perplexity/langchain_perplexity/output_parsers.py b/libs/partners/perplexity/langchain_perplexity/output_parsers.py
index 917a8dc6e0..84ece94d4d 100644
--- a/libs/partners/perplexity/langchain_perplexity/output_parsers.py
+++ b/libs/partners/perplexity/langchain_perplexity/output_parsers.py
@@ -10,7 +10,7 @@ def strip_think_tags(text: str) -> str:
"""Removes all <think>...</think> tags and their content from text.
This function removes all occurrences of think tags, preserving text
- before, between, and after the tags. It also handles markdown code fences.
+ before and after the tags. It also handles markdown code fences.
Args:
text: The input text that may contain think tags.