diff --git a/docs/src/assets/openai-model-names.png b/docs/src/assets/openai-model-names.png new file mode 100644 index 0000000000..11ef2fab70 Binary files /dev/null and b/docs/src/assets/openai-model-names.png differ diff --git a/docs/src/assets/openai-model-names.png.txt b/docs/src/assets/openai-model-names.png.txt new file mode 100644 index 0000000000..bb2ba2c36c --- /dev/null +++ b/docs/src/assets/openai-model-names.png.txt @@ -0,0 +1 @@ +Screenshot of a user interface with a sidebar on the left and a dropdown menu titled 'Chat' with various options for AI models. The 'gpt-4o' option is highlighted and selected with a checkmark, described as 'High-intelligence flagship model for complex, multi-step tasks'. diff --git a/docs/src/content/docs/getting-started/configuration.mdx b/docs/src/content/docs/getting-started/configuration.mdx index 18e95d75c0..2fd49a02c4 100644 --- a/docs/src/content/docs/getting-started/configuration.mdx +++ b/docs/src/content/docs/getting-started/configuration.mdx @@ -17,6 +17,9 @@ import lmAlt from "../../../assets/vscode-language-models.png.txt?raw" import lmSelectSrc from "../../../assets/vscode-language-models-select.png" import lmSelectAlt from "../../../assets/vscode-language-models-select.png.txt?raw" +import oaiModelsSrc from "../../../assets/openai-model-names.png" +import oaiModelsAlt from "../../../assets/openai-model-names.png.txt?raw" + You will need to configure the LLM connection and authorizion secrets. :::tip @@ -116,6 +119,16 @@ OPENAI_API_KEY=sk_...
  • +Find the model you want to use +from the [OpenAI API Reference](https://platform.openai.com/docs/models/gpt-4o) +or the [OpenAI Chat Playground](https://platform.openai.com/playground/chat). + +{oaiModelsAlt} + +
  • + +
  • + Set the `model` field in `script` to the model you want to use. ```js 'model: "openai:gpt-4o"'