Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update lint #975

Merged
merged 1 commit into from
Feb 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/modules/agents/implementations/natbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def run_cmd(cmd: str, _crawler: Crawler) -> None:


if __name__ == "__main__":

objective = "Make a reservation for 2 at 7pm at bistro vida in menlo park"
print("\nWelcome to natbot! What is your objective?")
i = input()
Expand Down
1 change: 0 additions & 1 deletion langchain/chains/summarize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def _load_refine_chain(
verbose: Optional[bool] = None,
**kwargs: Any,
) -> RefineDocumentsChain:

initial_chain = LLMChain(llm=llm, prompt=question_prompt, verbose=verbose)
_refine_llm = refine_llm or llm
refine_chain = LLMChain(llm=_refine_llm, prompt=refine_prompt, verbose=verbose)
Expand Down
1 change: 0 additions & 1 deletion langchain/sql_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def get_table_info(self, table_names: Optional[List[str]] = None) -> str:

tables = []
for table_name in all_table_names:

columns = []
for column in self._inspector.get_columns(table_name, schema=self._schema):
columns.append(f"{column['name']} ({str(column['type'])})")
Expand Down