mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 12:59:07 +00:00
infra: add print rule to ruff (#16221)
Added noqa for existing prints. Can slowly remove / will prevent more being intro'd
This commit is contained in:
@@ -333,7 +333,7 @@ class LlamaCpp(LLM):
|
||||
for chunk in llm.stream("Ask 'Hi, how are you?' like a pirate:'",
|
||||
stop=["'","\n"]):
|
||||
result = chunk["choices"][0]
|
||||
print(result["text"], end='', flush=True)
|
||||
print(result["text"], end='', flush=True) # noqa: T201
|
||||
|
||||
"""
|
||||
params = {**self._get_parameters(stop), **kwargs}
|
||||
|
Reference in New Issue
Block a user