Skip to content

Commit

Permalink
fixed Bible Chat settings dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
eliranwong committed Dec 24, 2024
1 parent 0c3fa8e commit fed9745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/
setup(
name=package,
version="0.2.14",
version="0.2.15",
python_requires=">=3.8, <3.13",
description=f"UniqueBible App is a cross-platform & offline bible application, integrated with high-quality resources and unique features. Developers: Eliran Wong and Oliver Tseng",
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/plugins/menu/Bible Chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def showApiDialog(self):
config.chatGPTApiAutoScrolling = dialog.enable_auto_scrolling()
config.runPythonScriptGlobally = dialog.enable_runPythonScriptGlobally()
config.chatAfterFunctionCalled = dialog.enable_chatAfterFunctionCalled()
if config.llm_backend ("openai", "github", "azure"):
if config.llm_backend in ("openai", "github", "azure"):
config.openaiApi_chat_model = dialog.apiModel()
elif config.llm_backend == "google":
config.googleaiApi_chat_model = dialog.apiModel()
Expand Down

0 comments on commit fed9745

Please sign in to comment.