From 2aaeae885a1665c84fb1a261305ef9bc6b1bff61 Mon Sep 17 00:00:00 2001 From: Ferris Lucas Date: Fri, 26 Jan 2024 17:14:26 -0600 Subject: [PATCH] Default the gpt4 model to gpt-4-turbo-preview --- README.md | 2 +- src/CliState.js | 2 +- src/services/OpenAiGptService.js | 2 +- test/OpenAiGptService.test.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 13977e0..29a4f41 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ By leveraging the templating feature, prompt engineers can significantly reduce | Option | Description | | ------ | ----------- | | `-p, --prompt ` | Specifies the prompt to use in non-interactive mode. A path or a url can also be specified - in this case the content at the specified path or url is used as the prompt. The prompt can leverage the liquidjs templating system. | -| `-m, --model ` | Optional flag to set the model, defaults to `gpt-4-1106-preview`. Using the value "gpt3" will use the `gpt-3.5-turbo` model. | +| `-m, --model ` | Optional flag to set the model, defaults to `gpt-4-turbo-preview`. Using the value "gpt3" will use the `gpt-3.5-turbo` model. | | `-d, --dry-run` | Optional boolean flag that can be used to run the tool in dry-run mode where only the prompt that will be sent to the model is displayed. No changes are made to your filesystem when this option is used. | | `-i, --interactive` | Optional boolean flag that enables interactive mode where the user can provide input interactively. If this flag is not set, the tool runs in non-interactive mode. | | `-t, --template ` | Optional string flag that specifies a built in template name, the absolute path to a template file, or a url for a template file that will be used to generate the output. The default is the built in `refactor` template. The available built in templates are: `empty`, `refactor`, `swe`, and `test-first`. The prompt is interpolated with the template to form the payload sent to the model. | diff --git a/src/CliState.js b/src/CliState.js index a303189..c7e471b 100644 --- a/src/CliState.js +++ b/src/CliState.js @@ -13,7 +13,7 @@ export default class CliState { this.program.option('-t, --template