Skip to content

Commit

Permalink
Update to gpt-4-turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
beyimjan committed Apr 23, 2024
1 parent 3372a3b commit b17cf02
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ PowerShell users can create a function in their [PowerShell profile](https://lea
function ?? {
sw ask `
-s (Get-Command powershell.exe).Source `
-m gpt-4-turbo-preview `
-m gpt-4-turbo `
-p "I use PowerShell on a daily basis" `
@Args
}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ line_length = 79

[tool.poetry]
name = "shell-whiz"
version = "3.2.1"
version = "3.2.2"
description = "AI assistant for command line"
license = "GPL-3.0-only"
authors = ["Tamerlan Beyimjan <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion shell_whiz/cli/commands/ask.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async def _perform_selected_action(
await _explain_shell_command(
ai=ai,
coro=ai.get_explanation_of_shell_command(
shell_command.args, model="gpt-4-turbo-preview"
shell_command.args, model="gpt-4-turbo"
),
)
elif action == "Revise query":
Expand Down
3 changes: 0 additions & 3 deletions shell_whiz/cli/commands/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ def config() -> None:
)
raise typer.Exit(1)

print(config)
return

try:
Config.write(config)
except ConfigError as e:
Expand Down

0 comments on commit b17cf02

Please sign in to comment.