Skip to content

Commit

Permalink
Remove print() statements which seemed leftover from debugging. (la…
Browse files Browse the repository at this point in the history
…ngchain-ai#12648)

Added in langchain-ai#12159 presumably during debugging. Right now they cause a bit of visual noise.
  • Loading branch information
obi1kenobi authored and xieqihui committed Nov 21, 2023
1 parent ab71340 commit 201ffea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libs/langchain/tests/unit_tests/llms/fake_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@ def _call(
run_manager: Optional[CallbackManagerForLLMRun] = None,
**kwargs: Any,
) -> str:
print(prompt)
if self.sequential_responses:
return self._get_next_response_in_sequence
print(repr(prompt))
print(self.queries)
if self.queries is not None:
return self.queries[prompt]
if stop is None:
Expand Down

0 comments on commit 201ffea

Please sign in to comment.