Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 8, 2024
1 parent 166309a commit a557d74
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/ask.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def create_llm_chain(
):
unified_parameters = {
**provider_params,
**(self.get_model_parameters(provider, provider_params))
**(self.get_model_parameters(provider, provider_params)),
}
self.llm = provider(**unified_parameters)
memory = ConversationBufferWindowMemory(
Expand Down
2 changes: 1 addition & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def create_llm_chain(
):
unified_parameters = {
**provider_params,
**(self.get_model_parameters(provider, provider_params))
**(self.get_model_parameters(provider, provider_params)),
}
llm = provider(**unified_parameters)

Expand Down
2 changes: 1 addition & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def create_llm_chain(
):
unified_parameters = {
**provider_params,
**(self.get_model_parameters(provider, provider_params))
**(self.get_model_parameters(provider, provider_params)),
}
llm = provider(**unified_parameters)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create_llm_chain(
):
unified_parameters = {
**provider_params,
**(self.get_model_parameters(provider, provider_params))
**(self.get_model_parameters(provider, provider_params)),
}
llm = provider(**unified_parameters)

Expand Down

0 comments on commit a557d74

Please sign in to comment.