diff --git a/samuelcolvin_aicli.py b/samuelcolvin_aicli.py index c93bae6..f2eaa8f 100644 --- a/samuelcolvin_aicli.py +++ b/samuelcolvin_aicli.py @@ -16,7 +16,7 @@ from rich.syntax import Syntax from rich.text import Text -__version__ = '0.7.0' +__version__ = '0.8.0' class SimpleCodeBlock(CodeBlock): @@ -121,7 +121,7 @@ def cli() -> int: def ask_openai(client: openai.OpenAI, messages: list[dict[str, str]], stream: bool, console: Console) -> str: with Status('[dim]Working on it…[/dim]', console=console): - response = client.chat.completions.create(model='gpt-4', messages=messages, stream=stream) + response = client.chat.completions.create(model='gpt-4o', messages=messages, stream=stream) console.print('\nResponse:', style='green') if stream: